Skip to content

Commit 592c3b5

Browse files
committed
Remove legacy checks no longer relevant in PHP8
1 parent f8735ab commit 592c3b5

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

lib/core.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,6 @@
2020
ini_set('allow_url_include', 0);
2121
ini_set('tidy.clean_output', 0);
2222

23-
// TODO: Removed from PHP as of 5.4.0
24-
if (version_compare(PHP_VERSION, '5.4', '<')) {
25-
ini_set('magic_quotes_runtime', 0);
26-
ini_set('magic_quotes_sybase', 0);
27-
}
28-
29-
/* Exit immediately if register_globals is active.
30-
* register_globals may return 'Off' on some systems. See Bug #10062. */
31-
if (($rg = ini_get('register_globals')) && (strcasecmp($rg, 'off') !== 0)) {
32-
exit('Register globals is enabled. Exiting.');
33-
}
34-
3523
$dirname = __DIR__;
3624

3725
if (!defined('HORDE_BASE')) {

0 commit comments

Comments
 (0)