A terrible pile of things done to the code. Did a little bit of SM_PATH
[squirrelmail.git] / plugins / abook_take / setup.php
index 2f45a70470b0225001cc47897b65eaa0a0043a37..1130d9241e39649c81bca9203783eb5a4fa043c0 100755 (executable)
@@ -1,7 +1,10 @@
 <?php
 
-   require_once('../functions/url_parser.php');
+/* Path for SquirrelMail required files. */
+define('SM_PATH','../../');
 
+/* SquirrelMail required files. */
+require_once(SM_PATH . 'functions/url_parser.php');
 
 /* Address Take -- steals addresses from incoming email messages.  Searches
    the To, Cc, From and Reply-To headers, also searches the body of the