Browse Source

fix from Matthew Hagerty regarding a check for SM_PATH

stekkel 23 năm trước cách đây
mục cha
commit
efb94344a3
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      plugins/filters/setup.php

+ 1 - 2
plugins/filters/setup.php

@@ -25,8 +25,7 @@
  */
 
 /* Path for SquirrelMail required files. */
-define('SM_PATH','../../');
-
+if (!defined('SM_PATH') define('SM_PATH','../../');
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'plugins/filters/filters.php');