mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-05-23 16:32:45 +00:00
Fix formatting in missing-extensions error page
This commit is contained in:
parent
08c19f253c
commit
d3c3ab70f1
@ -14,7 +14,7 @@
|
|||||||
<div class="text-warning">
|
<div class="text-warning">
|
||||||
<?php
|
<?php
|
||||||
$problems = array();
|
$problems = array();
|
||||||
foreach(array("pdo_mysql", "intl") as $ext) {
|
foreach (array("pdo_mysql", "intl") as $ext) {
|
||||||
if (!extension_loaded($ext)) {
|
if (!extension_loaded($ext)) {
|
||||||
$problems[] = "- <a class=\"text-danger\">$ext</a>";
|
$problems[] = "- <a class=\"text-danger\">$ext</a>";
|
||||||
}
|
}
|
||||||
@ -24,9 +24,9 @@
|
|||||||
echo(implode("<br>", $problems));
|
echo(implode("<br>", $problems));
|
||||||
$phpini = php_ini_loaded_file();
|
$phpini = php_ini_loaded_file();
|
||||||
|
|
||||||
echo "These extensions can be enabled in php.ini.<br><br>";
|
echo "<br>These extensions can be enabled in php.ini.";
|
||||||
echo "php.ini location: <a class=\"text-info\">" . $phpini . "</a><br>";
|
echo "<br><br>php.ini location: <a class=\"text-info\">" . $phpini . "</a>";
|
||||||
echo "List of currently loaded extensions:";
|
echo "<br>List of currently loaded extensions:<br>";
|
||||||
echo(implode(', ', get_loaded_extensions()));
|
echo(implode(', ', get_loaded_extensions()));
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user