From 02bc133676c4ea7866c4bf1b582e2d4c2234715c Mon Sep 17 00:00:00 2001 From: secretr Date: Sun, 20 Jan 2008 22:55:06 +0000 Subject: [PATCH] fixed sql error (fit the changes to core_sql) --- install_.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install_.php b/install_.php index 095f5567e..f9d260cfc 100644 --- a/install_.php +++ b/install_.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/install_.php,v $ -| $Revision: 1.5 $ -| $Date: 2008-01-16 11:08:52 $ -| $Author: e107coders $ +| $Revision: 1.6 $ +| $Date: 2008-01-20 22:55:06 $ +| $Author: secretr $ +----------------------------------------------------------------------------+ */ @@ -790,7 +790,7 @@ This file has been generated by the installation script. // Create the admin user $ip = $_SERVER['REMOTE_ADDR']; - $userp = "1, '{$this->previous_steps['admin']['display']}', '{$this->previous_steps['admin']['user']}', '', '".md5($this->previous_steps['admin']['password'])."', '', '{$this->previous_steps['admin']['email']}', '', '', '', 0, ".time().", 0, 0, 0, 0, 0, 0, '{$ip}', 0, '', '', '', 0, 1, '', '', '0', '', ".time().", ''"; + $userp = "1, '{$this->previous_steps['admin']['display']}', '{$this->previous_steps['admin']['user']}', '', '".md5($this->previous_steps['admin']['password'])."', '', '{$this->previous_steps['admin']['email']}', '', '', 0, ".time().", 0, 0, 0, 0, 0, 0, '{$ip}', 0, '', '', 0, 1, '', '', '0', '', ".time().", ''"; mysql_query("INSERT INTO {$this->previous_steps['mysql']['prefix']}user VALUES ({$userp})" ); mysql_close();