This commit is contained in:
Lars Jung 2015-05-20 03:25:15 +02:00
parent e6a59ae6d0
commit 9fde25fc8e

View file

@ -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;
} }