Tweaks.
This commit is contained in:
parent
e6a59ae6d0
commit
9fde25fc8e
@ -4,7 +4,7 @@ define('MIN_PHP_VERSION', '5.4.0');
|
|||||||
|
|
||||||
if (!function_exists('version_compare') || version_compare(PHP_VERSION, MIN_PHP_VERSION, '<')) {
|
if (!function_exists('version_compare') || version_compare(PHP_VERSION, MIN_PHP_VERSION, '<')) {
|
||||||
header('Content-type: text/plain;charset=utf-8');
|
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;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user