diff options
Diffstat (limited to 'static/includes/settings.inc.php')
| -rw-r--r-- | static/includes/settings.inc.php | 24 |
1 files changed, 24 insertions, 0 deletions
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 @@ <?php +/** + * Copyright (c) 2013, 2014 Peter Lejeck <peter.lejeck@gmail.com> + * Copyright (c) 2015 cenci0 <alchimist94@gmail.com> + * Copyright (c) 2015 the Pantsu.cat developers <hostmaster@pantsu.cat> + * + * 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'); |
