mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-21 08:59:55 -04:00
remove magic function setting checks, PHP 7.4 drops these settings
This commit is contained in:
@@ -65,20 +65,6 @@ class Input_Core {
|
||||
|
||||
if (Input::$instance === NULL)
|
||||
{
|
||||
// magic_quotes_runtime is enabled
|
||||
if (get_magic_quotes_runtime())
|
||||
{
|
||||
@set_magic_quotes_runtime(0);
|
||||
Kohana_Log::add('debug', 'Disable magic_quotes_runtime! It is evil and deprecated: http://php.net/magic_quotes');
|
||||
}
|
||||
|
||||
// magic_quotes_gpc is enabled
|
||||
if (get_magic_quotes_gpc())
|
||||
{
|
||||
$this->magic_quotes_gpc = TRUE;
|
||||
Kohana_Log::add('debug', 'Disable magic_quotes_gpc! It is evil and deprecated: http://php.net/magic_quotes');
|
||||
}
|
||||
|
||||
if (is_array($_GET))
|
||||
{
|
||||
foreach ($_GET as $key => $val)
|
||||
|
||||
Reference in New Issue
Block a user