aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-10-12 15:27:04 +0000
committerz0rglub <z0rglub@piwigo.org>2003-10-12 15:27:04 +0000
commit25f2c15f77162b54b46cc6d2def81ec088520965 (patch)
tree922377d2be944f6d6a4677bed3380e066583f240 /admin
parent9400bfb70d2374d86de088a25971d43bec756f03 (diff)
Use install language for "guest" user
git-svn-id: http://piwigo.org/svn/trunk@205 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/install.php b/admin/install.php
index d368cd5ef..3b5a4619f 100644
--- a/admin/install.php
+++ b/admin/install.php
@@ -246,7 +246,7 @@ else if ( $_GET['step'] == 2 )
// guest user
$query = 'INSERT INTO '.$prefixeTable.'users';
$query.= '(id,username,password,status,language) VALUES ';
- $query.= "(2,'guest','','guest','francais')";
+ $query.= "(2,'guest','','guest','".$_GET['language']."')";
$query.= ';';
mysql_query( $query );
}