From 20fbf2436cd8db4b8728abaad75edf7483db1485 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Mon, 18 Oct 2021 16:32:31 +0800 Subject: [PATCH] * Modify the variable name. --- module/upgrade/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/upgrade/control.php b/module/upgrade/control.php index 19d8785a7a..294b4a5b5c 100644 --- a/module/upgrade/control.php +++ b/module/upgrade/control.php @@ -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']);