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/includes/settings.inc.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'static/includes/settings.inc.php') diff --git a/static/includes/settings.inc.php b/static/includes/settings.inc.php index 37bc4a0..6072249 100644 --- a/static/includes/settings.inc.php +++ b/static/includes/settings.inc.php @@ -1,5 +1,29 @@ + * 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. + */ + // PDO socket // mysql.sock path can be different from /tmp/mysql.sock, see /etc/my.cnf define('POMF_DB_CONN', 'mysql:unix_socket=/tmp/mysql.sock;dbname=pomf'); -- cgit v1.2.3