]> 91.132.146.200 Git - insipid.git/commitdiff
new config file
authorBanana <banana@optimus.de>
Sun, 20 Aug 2017 17:26:07 +0000 (19:26 +0200)
committerBanana <banana@optimus.de>
Sun, 20 Aug 2017 17:26:07 +0000 (19:26 +0200)
documentation/installation.txt
webroot/config.default.php [new file with mode: 0644]
webroot/index.php

index b0d480a91c486f7274ba2a366d62a968cbc7c4c8..d3b6581b82d1e70bbcbafcb0528c74c503e306e3 100644 (file)
@@ -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 (file)
index 0000000..a5369e5
--- /dev/null
@@ -0,0 +1,38 @@
+<?php
+/**
+ * Insipid
+ * Personal web-bookmark-system
+ *
+ * Copyright 2016-2017 Johannes Keßler
+ *
+ * Development starting from 2011: Johannes Keßler
+ * https://www.bananas-playground.net/projekt/insipid/
+ *
+ * creator:
+ * Luke Reeves <luke@neuro-tech.net>
+ *
+ * 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
index c7825451884990159c2a851eabc8c743c71cb6c6..b289320481b3243b6cc787e01fc22be7068df4d3 100644 (file)
@@ -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);
 }