From: tokul Date: Wed, 9 Aug 2006 06:58:42 +0000 (+0000) Subject: move variables that are loaded before environment is secured against rg=on X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=030aec2e10ef98ed378bbfdc47da8c20bd5e3311;p=squirrelmail.git move variables that are loaded before environment is secured against rg=on git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11490 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/squirrelspell/sqspell_interface.php b/plugins/squirrelspell/sqspell_interface.php index 94dedc55..9196c475 100644 --- a/plugins/squirrelspell/sqspell_interface.php +++ b/plugins/squirrelspell/sqspell_interface.php @@ -16,6 +16,11 @@ * @subpackage squirrelspell */ +/** + * Include the SquirrelMail initialization file. + */ +require('../../include/init.php'); + /** * Set up a couple of non-negotiable constants and * defaults. Don't change these, * the setuppable stuff is in @@ -24,12 +29,6 @@ $SQSPELL_DIR='plugins/squirrelspell/'; $SQSPELL_CRYPTO=FALSE; - -/** - * Include the SquirrelMail initialization file. - */ -require('../../include/init.php'); - include_once(SM_PATH . $SQSPELL_DIR . 'sqspell_functions.php'); /** diff --git a/plugins/squirrelspell/sqspell_options.php b/plugins/squirrelspell/sqspell_options.php index 09e966c7..2054b57e 100644 --- a/plugins/squirrelspell/sqspell_options.php +++ b/plugins/squirrelspell/sqspell_options.php @@ -13,6 +13,11 @@ * @subpackage squirrelspell */ +/** + * Include the SquirrelMail initialization file. + */ +require('../../include/init.php'); + /** * Set a couple of constants and defaults. Don't change these, * the configurable stuff is in sqspell_config.php @@ -22,10 +27,6 @@ $SQSPELL_DIR='plugins/squirrelspell/'; $SQSPELL_CRYPTO=FALSE; -/** - * Include the SquirrelMail initialization file. - */ -require('../../include/init.php'); include_once(SM_PATH . $SQSPELL_DIR . 'sqspell_functions.php');