diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-09-03 15:01:05 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-09-03 15:01:05 +0000 |
commit | 1f71a31084add9a8fbf2947eff85ee50c5913f5b (patch) | |
tree | d591861cbd3bdffffed5748fee6bdd8c41ab788f /include/common.inc.php | |
parent | fb5b21cbde40a80d5f36c6dad51dc76bbbe88069 (diff) |
- in admin/configuration, add new step with "sections" (general, comments,
default, upload, metadata, sessions)
- admin/configuration.php and its template have been higly simplificated by
making things more generic : for example, for each configuration
parameter, its name must correspond to the name we find in the config
table and belongs to a section, in the lang array we find :
- $lang['conf_<section>_<param>']
- $lang['conf_<section>_<param>_info']
- $lang['conf_<section>_<param>_error'] optionnaly
- more described message when connection to database server is impossible
- redefinitions of get_languages and get_templates functions
- deletion of configuration parameters : webmaster, session_keyword
- rename of configuration parameters :
- default_lang => default_language
- default_style => default_template
git-svn-id: http://piwigo.org/svn/trunk@512 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/common.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common.inc.php b/include/common.inc.php index 6a06706ce..6d4b37195 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -130,7 +130,7 @@ include(PHPWG_ROOT_PATH . 'include/template.php'); // mysql_connect( $dbhost, $dbuser, $dbpasswd ) -or die ( "Could not connect to server" ); +or die ( "Could not connect to database server" ); mysql_select_db( $dbname ) or die ( "Could not connect to database" ); |