Putting back SM_PATH the way it should be and eliminating chdir in the
[squirrelmail.git] / plugins / translate / options.php
index 2288a44..ae55cb9 100644 (file)
@@ -12,8 +12,7 @@
  */
 
 /* Path for SquirrelMail required files. */
-chdir('..');
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');