projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a bunch of plugins to cope with moved load_prefs/validate files.
[squirrelmail.git]
/
plugins
/
squirrelspell
/
sqspell_interface.php
diff --git
a/plugins/squirrelspell/sqspell_interface.php
b/plugins/squirrelspell/sqspell_interface.php
index 6ea1f0d94ca6c785417518c9f37ee1caa9651b23..b8f4273050e91ef116a00bd9c700e2aa885e62ee 100644
(file)
--- 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
*/
/**
* Load the stuff needed from squirrelmail
*/
+
chdir('..');
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");
require_once("$SQSPELL_DIR/sqspell_config.php");
require_once("$SQSPELL_DIR/sqspell_functions.php");