Need chdir in plugins when data_dir is relative
[squirrelmail.git] / plugins / spamcop / options.php
index 097cadd2f980f9b2cdc1d5f4829ad8d8af79e812..bc6dd1e0af6140c91d462b90900489f249fef5d6 100755 (executable)
@@ -1,6 +1,7 @@
 <?php
 
-define('SM_PATH','../../');
+chdir('..');
+define('SM_PATH','../');
 require_once(SM_PATH . 'include/validate.php');
 
 displayPageHeader($color, "None");