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
c8bc8103eb
commit
9531b5c2ac
@ -2,7 +2,11 @@
|
||||
|
||||
if (isset($_REQUEST['GLOBALS'])) die();
|
||||
|
||||
$check_sys_req = true;
|
||||
|
||||
// Check system requirements
|
||||
if ($check_sys_req)
|
||||
{
|
||||
// PHP
|
||||
if (PHP_VERSION_ID < 50304) die('TorrentPier II requires PHP version 5.3.4+. Your PHP version ' . PHP_VERSION);
|
||||
// Magic quotes
|
||||
@ -19,6 +23,7 @@ if (!extension_loaded('mbstring')) die('Mbstring extension not installed');
|
||||
if (!extension_loaded('bcmath')) die('BCMath extension not installed');
|
||||
// Intl
|
||||
if (!extension_loaded('intl')) die('Intl extension not installed');
|
||||
}
|
||||
|
||||
ignore_user_abort(true);
|
||||
define('TIMESTART', utime());
|
||||
|
Loading…
Reference in New Issue
Block a user