appdb/include incl.php

WineHQ wineowner at wine.codeweavers.com
Fri Jan 5 23:03:58 CST 2007


ChangeSet ID:	30857
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/01/05 23:03:58

Modified files:
	include        : incl.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	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.

Patch: http://cvs.winehq.org/patch.py?id=30857

Old revision  New revision  Changes     Path
 1.40          1.41          +4 -5       appdb/include/incl.php

Index: appdb/include/incl.php
diff -u -p appdb/include/incl.php:1.40 appdb/include/incl.php:1.41
--- appdb/include/incl.php:1.40	6 Jan 2007  5: 3:58 -0000
+++ appdb/include/incl.php	6 Jan 2007  5: 3:58 -0000
@@ -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");
+
 ?>



More information about the wine-cvs mailing list