Merge branch 'fix_local_upgrade' into 'master'

- Remove useless code for local upgrade.

See merge request easycorp/zentaopms!6589
This commit is contained in:
胡方舟
2022-12-19 02:56:25 +00:00
+1 -1
View File
@@ -38,7 +38,7 @@ if(!isset($config->installed) or !$config->installed) die(header('location: inst
/* Check for need upgrade. */
$config->installedVersion = $app->getInstalledVersion();
if($config->version != $config->installedVersion && file_exists('upgrade.php')) die(header('location: upgrade.php'));
if($config->version != $config->installedVersion) die(header('location: upgrade.php'));
/* Run the app. */
$common = $app->loadCommon();