10000 Remove(legacy): delete checks for 'magic_quotes_gpc' and 'register_gl… · FriendsOfSymfony1/symfony1@e47ec1d · GitHub
[go: up one dir, main page]

Skip to content

Commit e47ec1d

Browse files
committed
Remove(legacy): delete checks for 'magic_quotes_gpc' and 'register_globals' ini settings, a 8000 s removed on PHP v5.4
1 parent f1df8ba commit e47ec1d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

data/bin/check_configuration.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ function get_ini_path()
8383
check($accelerator, 'A PHP accelerator is installed', 'Install a PHP accelerator like APC (highly recommended)', false);
8484

8585
check(!ini_get('short_open_tag'), 'php.ini has short_open_tag set to off', 'Set it to off in php.ini', false);
86-
check(!ini_get('magic_quotes_gpc'), 'php.ini has magic_quotes_gpc set to off', 'Set it to off in php.ini', false);
87-
check(!ini_get('register_globals'), 'php.ini has register_globals set to off', 'Set it to off in php.ini', false);
8886
check(!ini_get('session.auto_start'), 'php.ini has session.auto_start set to off', 'Set it to off in php.ini', false);
8987

9088
check(class_exists('Memcache'), 'Memcache is available', 'You must have memcache installed and enabled to use sfMemcacheCache class.', false);

0 commit comments

Comments
 (0)
0