From ddccf5f1c26517bf58cd45e3d92096fc760d9db6 Mon Sep 17 00:00:00 2001 From: Juuso Lapinlampi Date: Wed, 23 Sep 2015 16:29:54 +0000 Subject: Add Expat copyright headers to PHP files Interestingly, static/classes/UploadedFile.class.php is not licensed under Expat license. Because it was posted in PHP.net comments, I believe it's under the PHP license. --- static/upload.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'static/upload.php') diff --git a/static/upload.php b/static/upload.php index 0504e54..c501acd 100644 --- a/static/upload.php +++ b/static/upload.php @@ -1,5 +1,30 @@ + * Copyright (c) 2013, 2014, 2015 Eric Johansson + * Copyright (c) 2015 cenci0 + * Copyright (c) 2015 the Pantsu.cat developers + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + // Check if we can compress our output; if we can, we'll do it if (ini_get('zlib.output_compression') !== 'Off' && isset($_SERVER['HTTP_ACCEPT_ENCODING']) -- cgit v1.2.3