From abb3c512ea6977cc33e959fdf65bb2fdc8ddd5e8 Mon Sep 17 00:00:00 2001 From: tassium Date: Fri, 13 Dec 2002 19:36:08 +0000 Subject: [PATCH] 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 --- src/addrbook_search_html.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'); -- 2.25.1