Fix session errors that occur when filtering detects a problem by moving filtering to the end of

incl.php and after we setup the session.
This commit is contained in:
Chris Morgan
2007-01-06 05:03:58 +00:00
committed by WineHQ
parent 2e8b3aa3e6
commit 5ee94f4617

View File

@@ -81,11 +81,6 @@ if(isset($_REQUEST['mode']))
}
/* End backwards compatibility code */
// include filter.php to filter all REQUEST input
require(BASE."include/filter.php");
// create arrays
$sidebar_func_list = array();
$help_list = array();
@@ -295,4 +290,8 @@ if(!isset($_SESSION['current']))
// if we are debugging we need to see all errors
if($_SESSION['current']->showDebuggingInfos()) error_reporting(E_ALL ^ E_NOTICE);
// include filter.php to filter all REQUEST input
require(BASE."include/filter.php");
?>