fix from Matthew Hagerty regarding a check for SM_PATH
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 16 Oct 2002 19:08:41 +0000 (19:08 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 16 Oct 2002 19:08:41 +0000 (19:08 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3885 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/filters/setup.php

index 7a53e91093b798695b976d2e058f98062cc28c54..fbdbddf65499eef593b699abbc224f42aec7704a 100644 (file)
@@ -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');