diff --git a/administrator/index.php b/administrator/index.php index cf170d34a22b2..e7869040566a5 100644 --- a/administrator/index.php +++ b/administrator/index.php @@ -17,7 +17,13 @@ if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) { - die(str_replace(['{{PHP_VERSION}}', '{{BASEPATH}}'], [JOOMLA_MINIMUM_PHP, 'http://' . $_SERVER['SERVER_NAME'] . '/'], file_get_contents(dirname(__FILE__) . '/../templates/system/incompatible.html'))); + die( + str_replace( + ['{{PHP_VERSION}}', '{{BASEPATH}}'], + [JOOMLA_MINIMUM_PHP, 'http://' . $_SERVER['SERVER_NAME'] . '/'], + file_get_contents(dirname(__FILE__) . '/../templates/system/incompatible.html') + ) + ); } /** diff --git a/index.php b/index.php index a3688abb13e4b..a5877ae507972 100644 --- a/index.php +++ b/index.php @@ -17,7 +17,13 @@ if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) { - die(str_replace(['{{PHP_VERSION}}', '{{BASEPATH}}'], [JOOMLA_MINIMUM_PHP, 'http://' . $_SERVER['SERVER_NAME'] . '/'], file_get_contents(dirname(__FILE__) . '/templates/system/incompatible.html'))); + die( + str_replace( + ['{{PHP_VERSION}}', '{{BASEPATH}}'], + [JOOMLA_MINIMUM_PHP, 'http://' . $_SERVER['SERVER_NAME'] . '/'], + file_get_contents(dirname(__FILE__) . '/templates/system/incompatible.html') + ) + ); } /** diff --git a/installation/index.php b/installation/index.php index a9742ea5f9552..abf9c60cf7eb7 100644 --- a/installation/index.php +++ b/installation/index.php @@ -17,7 +17,13 @@ if (version_compare(PHP_VERSION, JOOMLA_MINIMUM_PHP, '<')) { - die(str_replace(['{{PHP_VERSION}}', '{{BASEPATH}}'], [JOOMLA_MINIMUM_PHP, 'http://' . $_SERVER['SERVER_NAME'] . '/'], file_get_contents(dirname(__FILE__) . '/../templates/system/incompatible.html'))); + die( + str_replace( + ['{{PHP_VERSION}}', '{{BASEPATH}}'], + [JOOMLA_MINIMUM_PHP, 'http://' . $_SERVER['SERVER_NAME'] . '/'], + file_get_contents(dirname(__FILE__) . '/../templates/system/incompatible.html') + ) + ); } /**