Putting back SM_PATH the way it should be and eliminating chdir in the
[squirrelmail.git] / plugins / squirrelspell / sqspell_interface.php
index d5b15f9e259ba6c0c0d7f47ffd5d5f33e86255a0..8f42804083bddbff6e06186d15028601e3f580c6 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');