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 8f94a71..9414fe1 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 161891d..122bd37 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 8797acf..153aaaa 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 ();
 }