Remove the error suppressors I had included (@)
authorcigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 25 Mar 2005 06:18:44 +0000 (06:18 +0000)
committercigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 25 Mar 2005 06:18:44 +0000 (06:18 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9135 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/filters/filters.php
plugins/filters/options.php
plugins/filters/setup.php

index 8f94a7190261bce5ea88f5c90a2a8c774ba2ff6b..9414fe14b5f9e4afa7d9608c1e05be6d526be49c 100644 (file)
@@ -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
index 161891dc7336c0b0ab5c4f9019d2dc912b85b65c..122bd37d67c65ee50b13aecaca155cdd52d5ffbb 100644 (file)
@@ -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;
 
index 8797acffcb8d04b983fce0f25534fcdf8367253f..153aaaab513b01730e5eb69a4b2a612db0e022f0 100644 (file)
@@ -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 ();
 }