From 9ee57254a0ddb367afc94f68917bcb572b85a73a Mon Sep 17 00:00:00 2001 From: dingguodong Date: Wed, 13 Sep 2023 14:51:35 +0800 Subject: [PATCH] - Rollback code. --- framework/base/control.class.php | 1 - 1 file changed, 1 deletion(-) diff --git a/framework/base/control.class.php b/framework/base/control.class.php index 124d59d0a4..632c355b1c 100644 --- a/framework/base/control.class.php +++ b/framework/base/control.class.php @@ -1213,7 +1213,6 @@ class baseControl */ public function locate(string $url) { - if(empty($url)) $url = $this->config->webRoot; helper::header('location', $url); helper::end(); }