From 614cda7bca2bd97a5deda484321ed4a6622dd67c Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 13 Sep 2008 13:36:05 +0000 Subject: Series: Fixed install.php Refs #55 --- series/trunk/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'series/trunk/install.php') 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'])) $sql[0] = "INSERT INTO config (name,value) VALUES (\"siteName\",\"" . mysql_real_escape_string($_POST['siteName']) . "\")"; $sql[1] = "INSERT INTO config (name,value) VALUES (\"adminUser\",\"" . mysql_real_escape_string($_POST['adminUser']) . "\")"; - $sql[2] = "INSERT INTO config (name,value) VALUES (\"adminPass\",\"" . mysql_real_escape_string(md5($_POST['adminPass'])) . "\")"; + $sql[2] = "INSERT INTO users (username,password) VALUES (\"" . mysql_real_escape_string($_POST['adminUser']) . "\",\"" . mysql_real_escape_string(md5($_POST['adminPass'])) . "\")"; foreach ($sql as $name => $value) { -- cgit 1.4.1