更新时间:2023-11-13 22:11:16
如果您想要回家到您在路线文件中建立的基础,只需输入:
If you are wanting to go 'home' to the base you establish in your route file just put:
redirect('', 'location'); // Passing no URI parameters so it goes to base route
如果你想实际去代码只传递URI段:
If you want to actually go somewhere with your code only pass the URI segments:
redirect('users/logout/', 'location');
GL,让我知道如果不起作用。
GL, and let me know if that doesn't work.