From 322b1e502467d8e35dda6cd7db80ecf116bbcf1d Mon Sep 17 00:00:00 2001 From: e107steved Date: Fri, 15 May 2009 19:30:03 +0000 Subject: [PATCH] Correct a couple of bits of initialisation on install --- e107_files/def_e107_prefs.php | 5 +++-- install_.php | 19 +++++++++++++++---- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/e107_files/def_e107_prefs.php b/e107_files/def_e107_prefs.php index 1c2a717ee..f160d3afa 100644 --- a/e107_files/def_e107_prefs.php +++ b/e107_files/def_e107_prefs.php @@ -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', diff --git a/install_.php b/install_.php index 27e811ce9..1ff224a97 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.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') ");