|
@@ -24,10 +24,14 @@ $SQSPELL_CRYPTO=FALSE;
|
|
|
* Load some necessary stuff from squirrelmail.
|
|
|
*/
|
|
|
chdir('..');
|
|
|
-require_once('../src/validate.php');
|
|
|
-require_once('../src/load_prefs.php');
|
|
|
-require_once('../functions/strings.php');
|
|
|
-require_once('../functions/page_header.php');
|
|
|
+define('SM_PATH','../');
|
|
|
+
|
|
|
+/* SquirrelMail required files. */
|
|
|
+require_once(SM_PATH . 'include/validate.php');
|
|
|
+require_once(SM_PATH . 'src/validate.php');
|
|
|
+require_once(SM_PATH . 'src/load_prefs.php');
|
|
|
+require_once(SM_PATH . 'functions/strings.php');
|
|
|
+require_once(SM_PATH . 'functions/page_header.php');
|
|
|
require_once("$SQSPELL_DIR/sqspell_config.php");
|
|
|
require_once("$SQSPELL_DIR/sqspell_functions.php");
|
|
|
|