mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- include/config.inc.php becomes include/config_default.inc.php : this file
should not be modified. A new file include/config_local.inc.php can be used for overwriting configuration parameters git-svn-id: http://piwigo.org/svn/trunk@770 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2005-04-25 Pierrick LE GALL
|
||||
|
||||
* include/config.inc.php becomes include/config_default.inc.php :
|
||||
this file should not be modified. A new file
|
||||
include/config_local.inc.php can be used for overwriting
|
||||
configuration parameters
|
||||
|
||||
2005-04-25 Pierrick LE GALL
|
||||
|
||||
* come back to previous version of include/constants.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');
|
||||
|
||||
|
||||
@@ -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 ?
|
||||
Reference in New Issue
Block a user