Thnx tomas and shame on me.
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 24 Apr 2006 15:59:13 +0000 (15:59 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 24 Apr 2006 15:59:13 +0000 (15:59 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11083 7612ce4b-ef26-0410-bec9-ea0150e637f0

include/init.php

index 7ed4687cb48446b9c3685bff1c20b232a7a931c8..a775511542df1d19c7cfa6c758788c13867a66db 100644 (file)
@@ -23,7 +23,7 @@ error_reporting(E_ALL);
  * Code requires PHP 4.1.0 or newer.
  * Second test covers boolean set as string (php_value register_globals off).
  */
-if ((bool) @ini_get('register_globals') && 
+if ((bool) @ini_get('register_globals') &&
     strtolower(ini_get('register_globals'))!='off') {
     /**
      * Remove all globals from $_GET, $_POST, and $_COOKIE.
@@ -162,7 +162,7 @@ if ((bool) @ini_get('register_globals')) {
     }
 }
 
-sqsession_register($base_uri, SM_BASE_URI);
+sqsession_register(SM_BASE_URI,'base_uri');
 
 /**
  * SquirrelMail version number -- DO NOT CHANGE
@@ -222,7 +222,7 @@ switch ($sInitLocation) {
     case 'style': session_write_close(); sqsetcookieflush(); break;
     case 'redirect':
         /**
-         * directory hashing functions are needed for all setups in case 
+         * directory hashing functions are needed for all setups in case
          * plugins use own pref files.
          */
         require(SM_PATH . 'functions/prefs.php');