mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-12 08:54:05 +02:00
Tweaks.
This commit is contained in:
@@ -4,7 +4,7 @@ define('MIN_PHP_VERSION', '5.4.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;
|
||||
echo '[err] h5ai requires PHP ' . MIN_PHP_VERSION . ' or later, but found PHP ' . PHP_VERSION;
|
||||
exit;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user