Browse Source

require instead of include_once

pdontthink 19 years ago
parent
commit
29f609f189
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/init.php

+ 1 - 1
include/init.php

@@ -274,7 +274,7 @@ $squirrelmail_plugin_hooks = array();
  * and let the hook calls include only the plugins needed.
  * and let the hook calls include only the plugins needed.
  */
  */
 if (file_exists(SM_PATH . 'config/plugin_hooks.php')) {
 if (file_exists(SM_PATH . 'config/plugin_hooks.php')) {
-    include_once(SM_PATH . 'config/plugin_hooks.php');
+    require(SM_PATH . 'config/plugin_hooks.php');
 }
 }
 
 
 /**
 /**