Feature #1313

Admin Panel & PHP 5.3.3

Added by TomH about 4 years ago. Updated about 4 years ago.

Status:New Start date:06/05/2011
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Admin Panel doesn't fully work under PHP 5.3.3 because the Admin Panel is using the old PHP Variables.

PHP Variables Changed:

from $HTTP_COOKIE_VARS to $_COOKIES
from $HTTP_POST_VARS to $_POST
from $HTTP_GET_VARS to $_GET
from $HTTP_SERVER_VARS to $_SERVER
from $HTTP_ENV_VARS to $_ENV
from $HTTP_SESSION_VARS to $_SESSION
from $HTTP_POST_FILES to $_FILES

Attached there's a .diff patch created from a clean source. Thanks to rti :)

I'm not sure if this is going to affect anyone using older php versions, might have to discuss it.

adminpanel.diff (42.9 kB) Magnifier TomH, 06/06/2011 12:06 am

History

#1 Updated by TomH about 4 years ago

<rti> ok. just saw. isset() could be a way to support both (http://php.net/manual/en/function.isset.php)

#2 Updated by rti about 4 years ago

as naush pointed out:
PHP 4.1 is the first version supporting the new variable names.

Also available in: Atom PDF