Check.php is used first at install and available in admin

This commit is contained in:
Antonin 2016-05-04 00:58:31 +02:00
parent f046cbdf95
commit 77de8f38e7
2 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,7 @@ use Framadate\Utils;
include_once __DIR__ . '/app/inc/init.php';
if (!is_file(CONF_FILENAME)) {
header(('Location: ' . Utils::get_server_name() . 'admin/install.php'));
header(('Location: ' . Utils::get_server_name() . 'admin/check.php'));
exit;
}

View File

@ -11,6 +11,9 @@
<div class="col-md-6 col-xs-12">
<a href="./purge.php"><h2>{__('Admin', 'Purge')}</h2></a>
</div>
<div class="col-md-6 col-xs-12">
<a href="./check.php"><h2>{__('Check', 'Installation checking')}</h2></a>
</div>
{if $logsAreReadable}
<div class="col-md-6 col-xs-12">
<a href="./logs.php"><h2>{__('Admin', 'Logs')}</h2></a>