Check.php is used first at install and available in admin
This commit is contained in:
parent
f046cbdf95
commit
77de8f38e7
@ -23,7 +23,7 @@ use Framadate\Utils;
|
|||||||
include_once __DIR__ . '/app/inc/init.php';
|
include_once __DIR__ . '/app/inc/init.php';
|
||||||
|
|
||||||
if (!is_file(CONF_FILENAME)) {
|
if (!is_file(CONF_FILENAME)) {
|
||||||
header(('Location: ' . Utils::get_server_name() . 'admin/install.php'));
|
header(('Location: ' . Utils::get_server_name() . 'admin/check.php'));
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
<div class="col-md-6 col-xs-12">
|
<div class="col-md-6 col-xs-12">
|
||||||
<a href="./purge.php"><h2>{__('Admin', 'Purge')}</h2></a>
|
<a href="./purge.php"><h2>{__('Admin', 'Purge')}</h2></a>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-md-6 col-xs-12">
|
||||||
|
<a href="./check.php"><h2>{__('Check', 'Installation checking')}</h2></a>
|
||||||
|
</div>
|
||||||
{if $logsAreReadable}
|
{if $logsAreReadable}
|
||||||
<div class="col-md-6 col-xs-12">
|
<div class="col-md-6 col-xs-12">
|
||||||
<a href="./logs.php"><h2>{__('Admin', 'Logs')}</h2></a>
|
<a href="./logs.php"><h2>{__('Admin', 'Logs')}</h2></a>
|
||||||
|
Loading…
Reference in New Issue
Block a user