move variables that are loaded before environment is secured against rg=on
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 9 Aug 2006 06:58:42 +0000 (06:58 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 9 Aug 2006 06:58:42 +0000 (06:58 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11490 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/squirrelspell/sqspell_interface.php
plugins/squirrelspell/sqspell_options.php

index 94dedc557958bf3b24b16ea558a297e04a3d8230..9196c47574ec89b500210905b894c0097b4cc4e3 100644 (file)
  * @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
 $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');
 
 /**
index 09e966c7cfcf6e4ca70a2a6e48c9d2058921bbac..2054b57eea2921cc3b5ef4a442377d721d549111 100644 (file)
  * @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');