Explorar el Código

require instead of include_once

pdontthink hace 19 años
padre
commit
29f609f189
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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.
  */
 if (file_exists(SM_PATH . 'config/plugin_hooks.php')) {
-    include_once(SM_PATH . 'config/plugin_hooks.php');
+    require(SM_PATH . 'config/plugin_hooks.php');
 }
 
 /**