Index: trunk/kernel/include/modules.php =================================================================== diff -u -r2959 -r2960 --- trunk/kernel/include/modules.php (.../modules.php) (revision 2959) +++ trunk/kernel/include/modules.php (.../modules.php) (revision 2960) @@ -789,9 +789,10 @@ LogEntry("Finished Loading Module Parser scripts\n"); /*now each module gets a look at the environment string */ -$SessionQueryString = FALSE; +// SID detecting engine: begin -if(!isset($FrontEnd)) $FrontEnd = false; + $SessionQueryString = false; // by default assume, that SID is located in cookie + if( !isset($FrontEnd) ) $FrontEnd = false; // if frontend not explicitly defined, than if($FrontEnd != 1) $SessionQueryString = TRUE; @@ -864,6 +865,8 @@ $SessionQueryString = TRUE; } +// SID detecting engine: end + $objSession = new clsUserSession($var_list["sid"],($SessionQueryString && $FrontEnd==1)); if($UseSession)