diff --git a/common.php b/common.php index 71b21fea..8f34c5c6 100644 --- a/common.php +++ b/common.php @@ -40,7 +40,7 @@ $incpath = dirname(__FILE__); (ini_get('magic_quotes_gpc') ? ini_set('magic_quotes_runtime', '0') : '1'); (ini_get('magic_quotes_gpc') ? ini_set('magic_quotes_sybase', '0') : '1'); -if(ini_get('register_globals')) { +if(ini_get('register_globals') == 'on') { die("Please turn off register_globals; edit your php.ini"); } require_once("$incpath/variables.inc.php");