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 94dedc5..9196c47 100644 (file)
  */
 
 /**
+ * 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_config.php
 $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 09e966c..2054b57 100644 (file)
  */
 
 /**
+ * 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
  * @todo do we really need $SQSPELL_DIR var?
@@ -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');