From cf3654bd0daa7802ea4d13c7a0ddff853276bc99 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Mon, 18 Oct 2021 16:34:33 +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 294b4a5b5c..61ba70c6e0 100644 --- a/module/upgrade/control.php +++ b/module/upgrade/control.php @@ -677,8 +677,8 @@ class upgrade extends control $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); + if(file_exists($installFile)) @unlink($installFile); + if(file_exists($upgradeFile)) @unlink($upgradeFile); unset($_SESSION['upgrading']); } }