aboutsummaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-09-03 22:05:31 +0000
committerz0rglub <z0rglub@piwigo.org>2004-09-03 22:05:31 +0000
commitaf5bb2dde0857fea96266e4fc8a3fae705b50260 (patch)
tree31bf48381a15d69122e7596a101fb4e54cf795a5 /install.php
parent1f71a31084add9a8fbf2947eff85ee50c5913f5b (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@513 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--install.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/install.php b/install.php
index 6e7fd969f..8c57977aa 100644
--- a/install.php
+++ b/install.php
@@ -265,20 +265,14 @@ if ( isset( $_POST['install'] ))
, $table_prefix );
$query = 'UPDATE '.CONFIG_TABLE;
- $query.= " SET value = '".$admin_name."'";
- $query.= " WHERE param = 'webmaster'";
- $query.= ';';
- mysql_query( $query );
-
- $query = 'UPDATE '.CONFIG_TABLE;
$query.= " SET value = '".$admin_mail."'";
$query.= " WHERE param = 'mail_webmaster'";
$query.= ';';
mysql_query( $query );
- $query = 'UPDATE '.CONFIG_TABLE;
+ $query = 'UPDATE '.CONFIG_TABLE;
$query.= " SET value = '".$language."'";
- $query.= " WHERE param = 'default_lang'";
+ $query.= " WHERE param = 'default_language'";
$query.= ';';
mysql_query( $query );