mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
fixed adding initial user (forum related fields gone)
This commit is contained in:
parent
0f435a0c74
commit
eae1ce3664
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user