


How does DEDECMS realize member login or logout and jump directly to the homepage?
How does DEDECMS allow members to log in or log out and jump directly to the home page?
Modification method for DreamWeaver DEDECMS members to log in or log out and jump directly to the home page
Recommended learning: DreamWeaver cms
Default dede In the template, after members log in to the homepage, they will jump to the member center by default.
If we want to jump to the website homepage after logging in, we can modify the dede file like this:
1, Find this index_do.php file in the /member directory
2. Search for the following sentence:
ShowMsg("成功登录,5秒钟后转向系统主页...","index.php",0,2000);
and replace it with:
ShowMsg("成功登录,5秒钟后转向系统主页...","/",0,2000);
In addition: If dede members want to quit dede System, also return to the dede website homepage
You can search the following sentence in the file:
ShowMsg("成功退出登录!","index.php",0,2000);
Replace it with:
ShowMsg("成功退出登录!","/",0,2000);
In this way, dede members log in and log out will not return to the dede member center.
The above is the detailed content of How does DEDECMS realize member login or logout and jump directly to the homepage?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Zend Studio 13.0.1
Powerful PHP integrated development environment

SublimeText3 Linux new version
SublimeText3 Linux latest version

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software
