diff --git a/e107_handlers/login.php b/e107_handlers/login.php index f7e39ca15..839ca0c33 100644 --- a/e107_handlers/login.php +++ b/e107_handlers/login.php @@ -13,8 +13,6 @@ if (!defined('e107_INIT')) { exit; } -error_reporting(E_ALL); - // require_once(e_HANDLER.'user_handler.php'); //shouldn't be necessary include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/lan_login.php'); diff --git a/e107_plugins/chatbox_menu/chatbox_menu.php b/e107_plugins/chatbox_menu/chatbox_menu.php index dc7a0fd73..57cacfcc5 100644 --- a/e107_plugins/chatbox_menu/chatbox_menu.php +++ b/e107_plugins/chatbox_menu/chatbox_menu.php @@ -15,7 +15,7 @@ * @subpackage chatbox */ -error_reporting(E_ALL); + if(isset($_POST['chatbox_ajax'])) { define('e_MINIMAL',true); diff --git a/e107_plugins/forum/forum_update.php b/e107_plugins/forum/forum_update.php index 98fcd138f..fb6505955 100644 --- a/e107_plugins/forum/forum_update.php +++ b/e107_plugins/forum/forum_update.php @@ -19,7 +19,7 @@ if (!getperms('P')) exit ; } -error_reporting(E_ALL); + require_once (e_PLUGIN . 'forum/forum_class.php'); require_once (e_ADMIN . 'auth.php'); diff --git a/e107_plugins/metaweblog/metaweblog.php b/e107_plugins/metaweblog/metaweblog.php index cfdad35fe..452ab14e5 100644 --- a/e107_plugins/metaweblog/metaweblog.php +++ b/e107_plugins/metaweblog/metaweblog.php @@ -1,5 +1,5 @@