Re: [SMARTY] Suggestion - track_globals off compatibility

From: Date: Mon, 03 Jun 2002 16:42:15 +0000
Subject: Re: [SMARTY] Suggestion - track_globals off compatibility
References: 1  Groups: php.smarty.dev php.smarty.general 
Request: Send a blank email to php-smarty-dev+get-108@lists.php.net to get a copy of this message
This is updated in CVS. Michal Prinke wrote:
In smarty.class.php - replace: $GLOBALS['QUERY_STRING'] ...with... $GLOBALS['HTTP_SERVER_VARS']['QUERY_STRING'] This should make this class track_globals off compatibile (and thus, PHP 4.2.0+ compatibile too). PS. Maybe this kind of fix should be also implemented for other
    $GLOBALS calls - e.g. $GLOBALS['HTTP_IF_MODIFIED_SINCE'] ???
Greetings, --- Michal
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.dev (#108) next »