diff options
Diffstat (limited to 'series')
-rw-r--r-- | series/trunk/install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/series/trunk/install.php b/series/trunk/install.php index cf0d592..6cb78e5 100644 --- a/series/trunk/install.php +++ b/series/trunk/install.php | |||
@@ -113,7 +113,7 @@ if (!isset($_GET['submit'])) | |||
113 | 113 | ||
114 | $sql[0] = "INSERT INTO config (name,value) VALUES (\"siteName\",\"" . mysql_real_escape_string($_POST['siteName']) . "\")"; | 114 | $sql[0] = "INSERT INTO config (name,value) VALUES (\"siteName\",\"" . mysql_real_escape_string($_POST['siteName']) . "\")"; |
115 | $sql[1] = "INSERT INTO config (name,value) VALUES (\"adminUser\",\"" . mysql_real_escape_string($_POST['adminUser']) . "\")"; | 115 | $sql[1] = "INSERT INTO config (name,value) VALUES (\"adminUser\",\"" . mysql_real_escape_string($_POST['adminUser']) . "\")"; |
116 | $sql[2] = "INSERT INTO config (name,value) VALUES (\"adminPass\",\"" . mysql_real_escape_string(md5($_POST['adminPass'])) . "\")"; | 116 | $sql[2] = "INSERT INTO users (username,password) VALUES (\"" . mysql_real_escape_string($_POST['adminUser']) . "\",\"" . mysql_real_escape_string(md5($_POST['adminPass'])) . "\")"; |
117 | 117 | ||
118 | foreach ($sql as $name => $value) | 118 | foreach ($sql as $name => $value) |
119 | { | 119 | { |