소스 검색

require instead of include_once

pdontthink 19 년 전
부모
커밋
29f609f189
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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');
 }
 
 /**