From: Banana Date: Sun, 20 Aug 2017 17:26:07 +0000 (+0200) Subject: new config file X-Git-Tag: 2.1-alpha-2019-0-29~39 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=a097ff31ba6ab58e7e03365da64efc7a789a2a7e;p=insipid.git new config file --- diff --git a/documentation/installation.txt b/documentation/installation.txt index b0d480a..d3b6581 100644 --- a/documentation/installation.txt +++ b/documentation/installation.txt @@ -8,7 +8,7 @@ Read this first!! Unpack the archive 4. -Modify webroot/config.php +Modify webroot/config.default.php and rename it to webroot/config.php 5. Copy and modify documentation/insipid-edit-me.sql and replace the placeholder. diff --git a/webroot/config.default.php b/webroot/config.default.php new file mode 100644 index 0000000..a5369e5 --- /dev/null +++ b/webroot/config.default.php @@ -0,0 +1,38 @@ + + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see http://www.gnu.org/licenses/gpl-3.0. + * + */ + +# database config +define('DB_HOST','127.0.0.1'); +define('DB_USERNAME','user'); +define('DB_PASSWORD','test'); +define('DB_NAME','insipid'); +define('DB_PREFIX','insipid'); # a _ is added automatically as seperation + +# user config +define('FRONTEND_USERNAME','luke'); +define('FRONTEND_PASSWORD','thefather'); \ No newline at end of file diff --git a/webroot/index.php b/webroot/index.php index c782545..b289320 100644 --- a/webroot/index.php +++ b/webroot/index.php @@ -45,7 +45,7 @@ if(!empty($_urlToParse)) { ## set the error reporting ini_set('log_errors',true); -ini_set('error_log','/error.log'); +ini_set('error_log','error.log'); if(DEBUG === true) { ini_set('display_errors',true); }