Fix config page title
parent
eb512c4c1b
commit
299327cf29
|
@ -4,7 +4,7 @@
|
||||||
<div class="row mb-4">
|
<div class="row mb-4">
|
||||||
<div class="col-12 mb-4">
|
<div class="col-12 mb-4">
|
||||||
<h2>Configuration</h2>
|
<h2>Configuration</h2>
|
||||||
<small>Jilo Web configuration file <?= htmlspecialchars($config_file) ?></small>
|
<small>Jilo Web configuration file: <em><?= htmlspecialchars($localConfigPath) ?></em></small>
|
||||||
<?php if ($configMessage) { ?>
|
<?php if ($configMessage) { ?>
|
||||||
<?= $configMessage ?>
|
<?= $configMessage ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
|
@ -79,6 +79,7 @@ foreach ($config_file_locations as $location) {
|
||||||
}
|
}
|
||||||
// if found, use it
|
// if found, use it
|
||||||
if ($config_file) {
|
if ($config_file) {
|
||||||
|
$localConfigPath = str_replace(__DIR__ . '/..', '', $config_file);
|
||||||
$config = require $config_file;
|
$config = require $config_file;
|
||||||
} else {
|
} else {
|
||||||
die('Config file not found');
|
die('Config file not found');
|
||||||
|
|
Loading…
Reference in New Issue