From eae1ce366422740edd6b6e3f519f171009f0e010 Mon Sep 17 00:00:00 2001 From: mcfly <mcfly@e107.org> Date: Fri, 19 Dec 2008 02:55:14 +0000 Subject: [PATCH] fixed adding initial user (forum related fields gone) --- install_.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_.php b/install_.php index d7df3da2d..28c096e7f 100644 --- a/install_.php +++ b/install_.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/install_.php,v $ -| $Revision: 1.13 $ -| $Date: 2008-11-26 00:26:56 $ +| $Revision: 1.14 $ +| $Date: 2008-12-19 02:55:14 $ | $Author: mcfly_e107 $ +----------------------------------------------------------------------------+ */ @@ -901,7 +901,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, '{$ip}', 0, '', '', 1, '', '', '0', '', ".time().", ''"; mysql_query("INSERT INTO {$this->previous_steps['mysql']['prefix']}user VALUES ({$userp})" ); mysql_close();