mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 05:02:02 +02:00
Correct a couple of bits of initialisation on install
This commit is contained in:
parent
ccf018359c
commit
322b1e5024
@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_files/def_e107_prefs.php,v $
|
||||
| $Revision: 1.23 $
|
||||
| $Date: 2009-03-05 22:19:37 $
|
||||
| $Revision: 1.24 $
|
||||
| $Date: 2009-05-15 19:30:03 $
|
||||
| $Author: e107steved $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@ -86,6 +86,7 @@ City, State, Country
|
||||
'email_notify' => '0',
|
||||
'resize_method' => 'gd2',
|
||||
'image_post' => '1',
|
||||
'image_post_class' => '0',
|
||||
'im_path' => '/usr/X11R6/bin/',
|
||||
'im_width' => '120',
|
||||
'im_height' => '100',
|
||||
|
19
install_.php
19
install_.php
@ -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') ");
|
||||
|
Loading…
x
Reference in New Issue
Block a user