Update common.php

This commit is contained in:
Roman Kelesidis 2023-10-26 23:35:41 +07:00
parent df8b22b04c
commit de5b143cf1

View File

@ -6,7 +6,7 @@ if (isset($_REQUEST['GLOBALS'])) die();
// PHP // PHP
if (PHP_VERSION_ID < 50304) die('TorrentPier II requires PHP version 5.3.4+. Your PHP version '. PHP_VERSION); if (PHP_VERSION_ID < 50304) die('TorrentPier II requires PHP version 5.3.4+. Your PHP version '. PHP_VERSION);
// Magic quotes // Magic quotes
if (@get_magic_quotes_gpc()) die('Set: magic_quotes_gpc = Off'); if (function_exists('get_magic_quotes_gpc') && @get_magic_quotes_gpc()) die('Set: magic_quotes_gpc = Off');
// MySQL // MySQL
if (!extension_loaded('mysql')) die('MySQL extension not installed'); if (!extension_loaded('mysql')) die('MySQL extension not installed');
// JSON // JSON