about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--series/core/trunk/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/series/core/trunk/install.php b/series/core/trunk/install.php index 750dce8..86be5ee 100644 --- a/series/core/trunk/install.php +++ b/series/core/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($_POST['adminPass']) . "\")"; 116 $sql[2] = "INSERT INTO config (name,value) VALUES (\"adminPass\",\"" . mysql_real_escape_string(md5($_POST['adminPass'])) . "\")";
117 117
118 foreach ($sql as $name => $value) 118 foreach ($sql as $name => $value)
119 { 119 {