1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Correct a couple of bits of initialisation on install

This commit is contained in:
e107steved
2009-05-15 19:30:03 +00:00
parent ccf018359c
commit 322b1e5024
2 changed files with 18 additions and 6 deletions

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/install_.php,v $
| $Revision: 1.18 $
| $Date: 2009-04-02 15:21:48 $
| $Author: secretr $
| $Revision: 1.19 $
| $Date: 2009-05-15 19:30:03 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
@@ -872,7 +872,18 @@ This file has been generated by the installation script.
}
$this->dbqry("INSERT INTO {$this->previous_steps['mysql']['prefix']}core VALUES ('search_prefs', '{$search_prefs}') ");
$notify_prefs = mysql_real_escape_string("array ('event' => array ('usersup' => array ('type' => 'off', 'class' => '254', 'email' => '',),'userveri' => array ( 'type' => 'off', 'class' => '254', 'email' => '', ), 'login' => array ( 'type' => 'off', 'class' => '254', 'email' => '', ), 'logout' => array ( 'type' => 'off', 'class' => '254', 'email' => '', ), 'flood' => array ( 'type' => 'off', 'class' => '254', 'email' => '', ), 'subnews' => array ( 'type' => 'off', 'class' => '254', 'email' => '', ), 'newspost' => array ( 'type' => 'off', 'class' => '254', 'email' => '', ), 'newsupd' => array ( 'type' => 'off', 'class' => '254', 'email' => '', ), 'newsdel' => array ( 'type' => 'off', 'class' => '254', 'email' => '', ), ), )");
$notify_prefs = mysql_real_escape_string("array ('event' => array (
'usersup' => array ('class' => '254', 'email' => ''),
'userveri' => array ('class' => '254', 'email' => ''),
'login' => array ('class' => '254', 'email' => ''),
'logout' => array ('class' => '254', 'email' => ''),
'flood' => array ('class' => '254', 'email' => ''),
'subnews' => array ('class' => '254', 'email' => ''),
'newspost' => array ('class' => '254', 'email' => ''),
'newsupd' => array ('class' => '254', 'email' => ''),
'newsdel' => array ('class' => '254', 'email' => ''),
),
)");
$this->dbqry("INSERT INTO {$this->previous_steps['mysql']['prefix']}core VALUES ('notify_prefs', '{$notify_prefs}') ");
$this->dbqry("INSERT INTO {$this->previous_steps['mysql']['prefix']}banner VALUES (0, 'e107', 'e107login', 'e107password', 'banner1.png', 'http://e107.org', 0, 0, 0, 0, 0, 0, '', 'campaign_one') ");