Putting back SM_PATH the way it should be and eliminating chdir in the
[squirrelmail.git] / plugins / squirrelspell / sqspell_interface.php
index d5b15f9..8f42804 100644 (file)
@@ -29,8 +29,7 @@ $SQSPELL_CRYPTO=FALSE;
  * Load the stuff needed from squirrelmail
  */
 
-chdir('..');
-define('SM_PATH','../');
+define('SM_PATH','../../');
 
 /* SquirrelMail required files. */
 require_once(SM_PATH . 'include/validate.php');