Put a check in to be sure SM_PATH wasn't already defined. Seemed safer than just...
authortassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 23 Dec 2002 20:32:38 +0000 (20:32 +0000)
committertassium <tassium@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 23 Dec 2002 20:32:38 +0000 (20:32 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4306 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/abook_take/setup.php

index ed9e6e4..dd36b66 100755 (executable)
@@ -1,7 +1,9 @@
 <?php
 
 /* Path for SquirrelMail required files. */
-define('SM_PATH','../../');
+if (!defined('SM_PATH'))  {
+       define('SM_PATH','../../');
+}
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'functions/url_parser.php');