about summary refs log tree commit diff stats
path: root/series
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-09-13 13:36:05 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-09-13 13:36:05 +0000
commit614cda7bca2bd97a5deda484321ed4a6622dd67c (patch)
tree0964515572c978fe69ecd0471249c221478b4bec /series
parent970ec85cad2cc833f0ba4c9e9488952b9aa33575 (diff)
downloadinstadisc-614cda7bca2bd97a5deda484321ed4a6622dd67c.tar.gz
instadisc-614cda7bca2bd97a5deda484321ed4a6622dd67c.tar.bz2
instadisc-614cda7bca2bd97a5deda484321ed4a6622dd67c.zip
Series: Fixed install.php
Refs #55
Diffstat (limited to 'series')
-rw-r--r--series/trunk/install.php2
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 {