From: cigamit Date: Fri, 25 Mar 2005 06:18:44 +0000 (+0000) Subject: Remove the error suppressors I had included (@) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8510adf29cc7767d5ad5a49e2a66171d2ad6de07;p=squirrelmail.git Remove the error suppressors I had included (@) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9135 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/filters/filters.php b/plugins/filters/filters.php index 8f94a719..9414fe14 100644 --- a/plugins/filters/filters.php +++ b/plugins/filters/filters.php @@ -25,7 +25,8 @@ * @subpackage filters */ -@include_once (SM_PATH . 'plugins/filters/config.php'); +if (file_exists(SM_PATH . 'plugins/filters/config.php')) + include_once (SM_PATH . 'plugins/filters/config.php'); /** * Init Hooks diff --git a/plugins/filters/options.php b/plugins/filters/options.php index 161891dc..122bd37d 100644 --- a/plugins/filters/options.php +++ b/plugins/filters/options.php @@ -37,7 +37,7 @@ require_once(SM_PATH . 'functions/imap.php'); require_once(SM_PATH . 'plugins/filters/filters.php'); if (!file_exists(SM_PATH . 'plugins/filters/config.php')) return; -@include_once (SM_PATH . 'plugins/filters/config.php'); +include_once (SM_PATH . 'plugins/filters/config.php'); global $AllowSpamFilters; diff --git a/plugins/filters/setup.php b/plugins/filters/setup.php index 8797acff..153aaaab 100644 --- a/plugins/filters/setup.php +++ b/plugins/filters/setup.php @@ -12,7 +12,7 @@ * @access private */ function squirrelmail_plugin_init_filters() { - @include_once(SM_PATH . 'plugins/filters/filters.php'); + include_once(SM_PATH . 'plugins/filters/filters.php'); filters_init_hooks (); } @@ -32,7 +32,7 @@ function filters_special_mailbox( $mb ) { * @access private */ function filters_optpage_register_block_hook() { - @include_once(SM_PATH . 'plugins/filters/filters.php'); + include_once(SM_PATH . 'plugins/filters/filters.php'); filters_optpage_register_block (); } @@ -42,7 +42,7 @@ function filters_optpage_register_block_hook() { * @access private */ function start_filters_hook($args) { - @include_once(SM_PATH . 'plugins/filters/filters.php'); + include_once(SM_PATH . 'plugins/filters/filters.php'); start_filters (); } @@ -51,7 +51,7 @@ function start_filters_hook($args) { * @access private */ function update_for_folder_hook() { - @include_once(SM_PATH . 'plugins/filters/filters.php'); + include_once(SM_PATH . 'plugins/filters/filters.php'); update_for_folder (); }