* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This is a main wrapper for the pop-up window interface of
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This is a main wrapper for the pop-up window interface of
* Set up a couple of non-negotiable constants and
* defaults. Don't change these, * the setuppable stuff is in
* sqspell_config.php
*/
$SQSPELL_DIR='plugins/squirrelspell/';
$SQSPELL_CRYPTO=FALSE;
* Set up a couple of non-negotiable constants and
* defaults. Don't change these, * the setuppable stuff is in
* sqspell_config.php
*/
$SQSPELL_DIR='plugins/squirrelspell/';
$SQSPELL_CRYPTO=FALSE;
define('SM_PATH','../../');
/* SquirrelMail required files. */
require_once(SM_PATH . 'include/validate.php');
define('SM_PATH','../../');
/* SquirrelMail required files. */
require_once(SM_PATH . 'include/validate.php');
-require_once(SM_PATH . 'include/load_prefs.php');
-require_once(SM_PATH . $SQSPELL_DIR . 'sqspell_config.php');
-require_once(SM_PATH . $SQSPELL_DIR . 'sqspell_functions.php');
-
+include_once(SM_PATH . 'functions/display_messages.php');
+include_once(SM_PATH . $SQSPELL_DIR . 'sqspell_config.php');
+include_once(SM_PATH . $SQSPELL_DIR . 'sqspell_functions.php');
+
- * If $MOD is undefined, use "init", else check for security
- * breaches.
+ * If $MOD is unspecified, assign "init" to it. Else check for
+ * security breach attempts.