show lock page if no update is available
This commit is contained in:
parent
8b586bddf6
commit
67ef857544
@ -23,6 +23,12 @@ if (Config::checkDbConfig($db_config)) {
|
||||
Boot::bootEloquent($db_config);
|
||||
}
|
||||
|
||||
// If no update is available
|
||||
if (App::getVersion() == @Option::get('version')) {
|
||||
View::show('setup.locked');
|
||||
exit;
|
||||
}
|
||||
|
||||
$step = isset($_GET['step']) ? $_GET['step'] : '1';
|
||||
|
||||
switch ($step) {
|
||||
|
Loading…
Reference in New Issue
Block a user