show lock page if no update is available

This commit is contained in:
printempw 2016-08-11 13:21:00 +08:00
parent 8b586bddf6
commit 67ef857544

View File

@ -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) {