aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/common.inc.php3
-rw-r--r--include/config_default.inc.php (renamed from include/config.inc.php)16
2 files changed, 12 insertions, 7 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 1672f42ba..a57e00641 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -121,7 +121,8 @@ if (!defined('PHPWG_INSTALLED'))
}
include(PHPWG_ROOT_PATH . 'include/constants.php');
-include(PHPWG_ROOT_PATH . 'include/config.inc.php');
+include(PHPWG_ROOT_PATH . 'include/config_default.inc.php');
+@include(PHPWG_ROOT_PATH. 'include/config_local.inc.php');
include(PHPWG_ROOT_PATH . 'include/functions.inc.php');
include(PHPWG_ROOT_PATH . 'include/template.php');
diff --git a/include/config.inc.php b/include/config_default.inc.php
index 27001795a..0fea39a78 100644
--- a/include/config.inc.php
+++ b/include/config_default.inc.php
@@ -30,13 +30,17 @@
*
* Set configuration parameters that are not in the table config. In the
* application, configuration parameters are considered in the same way
- * coming from config table or config.inc.php.
+ * coming from config table or config_default.inc.php.
*
- * Why having some parameters in config table and others in config.inc.php ?
- * Modifying config.inc.php is a "hard" task for low skilled users, they
- * need a GUI for this : admin/configuration. But only parameters that might
- * be modified by low skilled users are in config table, other parameters
- * are in config.inc.php
+ * It is recommended to let config_default.inc.php as provided and to
+ * overwrite configuration in your local configuration file
+ * config_local.inc.php
+ *
+ * Why having some parameters in config table and others in
+ * config_*.inc.php? Modifying config_*.inc.php is a "hard" task for low
+ * skilled users, they need a GUI for this : admin/configuration. But only
+ * parameters that might be modified by low skilled users are in config
+ * table, other parameters are in config_*.inc.php
*/
// order_by : how to change the order of display for images in a category ?