Fixes edit config file pages
parent
a953dd386d
commit
74e9285804
|
@ -3,7 +3,9 @@
|
||||||
<div class="card text-center w-75 mx-lef">
|
<div class="card text-center w-75 mx-lef">
|
||||||
<p class="h4 card-header">Jilo configuration file</p>
|
<p class="h4 card-header">Jilo configuration file</p>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<p class="card-text">edit the Jilo Server configuration file:</p>
|
<p class="card-text">editing the Jilo Server configuration file
|
||||||
|
<span class="text-danger">this may break everything, use with extreme caution</span>
|
||||||
|
</p>
|
||||||
<form method="POST" action="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=config&item=config_file">
|
<form method="POST" action="<?= htmlspecialchars($app_root) ?>?platform=<?= htmlspecialchars($platform_id) ?>&page=config&item=config_file">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -9,6 +9,8 @@ include '../app/helpers/render.php';
|
||||||
renderConfig($config, '0');
|
renderConfig($config, '0');
|
||||||
echo "\n";
|
echo "\n";
|
||||||
?>
|
?>
|
||||||
|
<br />
|
||||||
|
<a class="btn btn-secondary" href="<?= htmlspecialchars($app_root) ?>?page=config&item=config_file&action=edit" />Edit</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue