X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fsquirrelspell%2Fsqspell_interface.php;h=b8f4273050e91ef116a00bd9c700e2aa885e62ee;hb=aa7fb30cfbfef6ef28ebde963f6312c79122f411;hp=6ea1f0d94ca6c785417518c9f37ee1caa9651b23;hpb=88cb1b4d2ebd3e74fcee1d756df4e420da8bdf09;p=squirrelmail.git diff --git a/plugins/squirrelspell/sqspell_interface.php b/plugins/squirrelspell/sqspell_interface.php index 6ea1f0d9..b8f42730 100644 --- a/plugins/squirrelspell/sqspell_interface.php +++ b/plugins/squirrelspell/sqspell_interface.php @@ -28,9 +28,13 @@ $SQSPELL_CRYPTO=FALSE; /** * Load the stuff needed from squirrelmail */ + chdir('..'); -require_once('../src/validate.php'); -require_once('../src/load_prefs.php'); +define('SM_PATH','../'); + +/* SquirrelMail required files. */ +require_once(SM_PATH . 'include/validate.php'); +require_once(SM_PATH . 'include/load_prefs.php'); require_once("$SQSPELL_DIR/sqspell_config.php"); require_once("$SQSPELL_DIR/sqspell_functions.php");