mirror of
https://github.com/cottow/6paster.git
synced 2024-05-19 06:50:10 +00:00
Merge pull request #18 from rkrieger/cleanup-php-8.0
Minor cleanup to allow use with PHP 8.0
This commit is contained in:
@@ -43,18 +43,6 @@ function check_setup()
|
||||
{
|
||||
global $config;
|
||||
|
||||
// check register_globals
|
||||
if( ini_get('register_globals') )
|
||||
{
|
||||
die('register_globals is enabled. I can\'t work like this.');
|
||||
}
|
||||
|
||||
// check gpc_quotes
|
||||
if( get_magic_quotes_gpc() )
|
||||
{
|
||||
die('magic_quotes_gpc is enabled. I can\'t work like this.');
|
||||
}
|
||||
|
||||
// check SSL
|
||||
if( !array_key_exists('HTTPS', $_SERVER) || $_SERVER['HTTPS'] != "on")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user