* Modify the variable name.

This commit is contained in:
hufangzhou
2021-10-18 16:32:31 +08:00
parent 5691e39633
commit 20fbf2436c
+2 -2
View File
@@ -675,8 +675,8 @@ class upgrade extends control
{
$this->loadModel('setting')->updateVersion($this->config->version);
$installPath = $this->app->getAppRoot() . 'www/install.php';
$upgradePath = $this->app->getAppRoot() . 'www/upgrade.php';
$installFile = $this->app->getAppRoot() . 'www/install.php';
$upgradeFile = $this->app->getAppRoot() . 'www/upgrade.php';
if(file_exists($installPath)) @unlink($installPath);
if(file_exists($upgradePath)) @unlink($upgradePath);
unset($_SESSION['upgrading']);