Browse Source

Minor fix to avoid duplicate define of SM_PATH.

tassium 22 years ago
parent
commit
39707b47f4
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/addrbook_search_html.php

+ 3 - 1
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');