mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-18 19:12:06 +02:00
Minor change.
This commit is contained in:
@@ -5,8 +5,7 @@ define('MIN_PHP_VERSION', '5.5.0');
|
||||
|
||||
if (!function_exists('version_compare') || version_compare(PHP_VERSION, MIN_PHP_VERSION, '<')) {
|
||||
header('Content-type: text/plain;charset=utf-8');
|
||||
echo '[err] h5ai requires PHP ' . MIN_PHP_VERSION . ' or later, but found PHP ' . PHP_VERSION;
|
||||
exit;
|
||||
exit('[ERR] h5ai requires PHP ' . MIN_PHP_VERSION . ' or later, but found PHP ' . PHP_VERSION);
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/../private/php/class-bootstrap.php';
|
||||
|
Reference in New Issue
Block a user