Moved php check to common.php

This commit is contained in:
Roman Kelesidis 2023-06-18 23:23:10 +07:00
parent 3930ef7c88
commit 8dd17838a2
2 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<?php
if (isset($_REQUEST['GLOBALS'])) die();
if (!(PHP_VERSION_ID >= 50303)) die('TorrentPier II requires PHP version 5.3.3+. Your PHP version '. PHP_VERSION);
ignore_user_abort(true);
define('TIMESTART', utime());

View File

@ -1,7 +1,6 @@
<?php
if (!defined('BB_ROOT')) die(basename(__FILE__));
if (!(PHP_VERSION_ID >= 50303)) die('TorrentPier II requires PHP version 5.3.3+. Your PHP version '. PHP_VERSION);
if (!defined('BB_CFG_LOADED')) trigger_error('File config.php not loaded', E_USER_ERROR);
// Define some basic configuration arrays