From: tassium Date: Fri, 13 Dec 2002 19:36:08 +0000 (+0000) Subject: Minor fix to avoid duplicate define of SM_PATH. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=abb3c512ea6977cc33e959fdf65bb2fdc8ddd5e8;p=squirrelmail.git Minor fix to avoid duplicate define of SM_PATH. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4267 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/addrbook_search_html.php b/src/addrbook_search_html.php index 2865b9a9..b81a7531 100644 --- a/src/addrbook_search_html.php +++ b/src/addrbook_search_html.php @@ -14,7 +14,9 @@ */ /* Path for SquirrelMail required files. */ -define('SM_PATH','../'); +if (! defined('SM_PATH') ) { + define('SM_PATH','../'); +} /* SquirrelMail required files. */ require_once(SM_PATH . 'include/validate.php');