From e8f58c761a94a3dee1326c67fe9927ae8bcbb81f Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Sat, 30 Jan 2021 14:58:58 +0800 Subject: [PATCH] insatll do not use do_log func --- nexus/Install/Install.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nexus/Install/Install.php b/nexus/Install/Install.php index fc080b59..0f6b23f2 100644 --- a/nexus/Install/Install.php +++ b/nexus/Install/Install.php @@ -42,18 +42,18 @@ class Install for ($i = 1; $i < $step; $i++) { $progressKey = $this->getProgressKey($i); if (!isset($_SESSION[$progressKey])) { - do_log("check step: $i, session doesn't have, session: " . json_encode($_SESSION)); + $this->doLog("check step: $i, session doesn't have, session: " . json_encode($_SESSION)); return false; } } - do_log("check step: $step, can access, session: " . json_encode($_SESSION)); + $this->doLog("check step: $step, can access, session: " . json_encode($_SESSION)); return true; } public function doneStep($step) { $progressKey = $this->getProgressKey($step); - do_log("doneStep: $step, $progressKey = 1"); + $this->doLog("doneStep: $step, $progressKey = 1"); $_SESSION[$progressKey] = 1; }