This commit is contained in:
tanghucheng
2022-03-29 16:48:19 +08:00
parent 8ba2c1bb83
commit 02c856cf7d
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2257,7 +2257,7 @@ EOD;
$module = $this->app->getModuleName();
$method = $this->app->getMethodName();
if($module == 'index' || $module == 'tutorial' || $module == 'install' || $module == 'upgrade' || ($module == 'user' && ($method == 'login' || $method == 'deny')) || ($module == 'my' && $method == 'changepassword') || ($module == 'file' && $method == 'read') || ($module == 'file' && $method == 'download')) return;
if($module == 'index' || $module == 'tutorial' || $module == 'install' || $module == 'upgrade' || ($module == 'user' && ($method == 'login' || $method == 'deny' || $method == 'logout')) || ($module == 'my' && $method == 'changepassword') || ($module == 'file' && $method == 'read') || ($module == 'file' && $method == 'download')) return;
$url = helper::safe64Encode($_SERVER['REQUEST_URI']);
$redirectUrl = helper::createLink('index', 'index', "open=$url");