Fix for old code when GLOBALS are needed on newer PHP versions
Quickfix is:
if (! isset($PXM_REG_GLOB)) { $PXM_REG_GLOB = 1; if (! ini_get('register_globals')) { foreach (array_merge($_GET, $_POST) as $key => $val) { global $$key; $$key = (get_magic_quotes_gpc()) ? $val : addslashes($val); } } if (! get_magic_quotes_gpc()) { foreach ($_POST as $key => $val) $_POST[$key] = addslashes($val); foreach ($_GET as $key => $val) $_GET[$key] = addslashes($val); } }
NB! This is NOT RECOMENDED to use as may open new vulnerabilities in code!
Better way is to update Your current code/cms!!!
How to install Symfony3 under shared webhosting in Developement mode Snippet for replacing certain code within PHP code