mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
fix register globals check in common.php - see https://sourceforge.net/tracker/?func=detail&aid=2721614&group_id=191583&atid=937964
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@611 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
4b167a60ec
commit
51d418f16c
@ -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_runtime', '0') : '1');
|
||||||
(ini_get('magic_quotes_gpc') ? ini_set('magic_quotes_sybase', '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");
|
die("Please turn off register_globals; edit your php.ini");
|
||||||
}
|
}
|
||||||
require_once("$incpath/variables.inc.php");
|
require_once("$incpath/variables.inc.php");
|
||||||
|
Loading…
Reference in New Issue
Block a user