diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-07 14:58:19 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-07 14:58:19 +0000 |
commit | 900db5d4dfaa2980c4fa6cfaf5bbe8fc91cf6bd0 (patch) | |
tree | b9f0eee659986c615d2350c56861a2e31a099bda /series/core | |
parent | 6fde7d3541b567c2cd4588ac68ff733d110e228b (diff) | |
download | instadisc-900db5d4dfaa2980c4fa6cfaf5bbe8fc91cf6bd0.tar.gz instadisc-900db5d4dfaa2980c4fa6cfaf5bbe8fc91cf6bd0.tar.bz2 instadisc-900db5d4dfaa2980c4fa6cfaf5bbe8fc91cf6bd0.zip |
Series: Hashed admin password
[15] Refs #53
Diffstat (limited to 'series/core')
-rw-r--r-- | series/core/trunk/install.php | 2 |
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 | { |