From: stekkel Date: Wed, 16 Oct 2002 19:08:41 +0000 (+0000) Subject: fix from Matthew Hagerty regarding a check for SM_PATH X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3bb4c3d8fe72e249396110e9fdee56210e8db3f7;p=squirrelmail.git fix from Matthew Hagerty regarding a check for SM_PATH git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3885 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/filters/setup.php b/plugins/filters/setup.php index 7a53e910..fbdbddf6 100644 --- a/plugins/filters/setup.php +++ b/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');