mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update common.php
This commit is contained in:
parent
df8b22b04c
commit
de5b143cf1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user