After logging in to WeEngine, directly jump to the application backend
After logging in to WeEngine, directly jump to the application backend
WeEngine version: v2.5.4
Under the root directory \web\source\user\login.ctrl.php
Find at the bottom
itoast("Welcome back, {$record['username']}", $forward, 'success'); |
Add the following code in front
$forward ='./index.php?c=home&a=welcome&do=ext&m=module_name'; |
Finally
isetcookie('__uid', '1', 7 * 86400); |
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment