Discuz x3.4 Solution to automatically log out of the administrator in the background
Some use Discuz The webmaster who makes for the forum website will encounter this problem: when he logs into the forum background as an administrator, he often automatically logs out.Sometimes you log out without logging in. Sometimes you log in for about one minute, which greatly affects the background operation.
Solution:
because Discuz Automatically detect when logging in to the background IP Address, if it is read inaccurately, it will automatically exit.The solution is to close DISCUZ Read IP function.The method is as follows:
Open your forum website root directory /config/config_global.php document;
discuz forum config_global.php document
use Dreamweaver Software and other editing software are opened config_global.php, Find the following code inside:
$_config['admincp']['checkip'] = 1;
Change the 1 after this code to 0.After modification, it is:
$_config['admincp']['checkip'] = 0;
After modification, save it and replace the original one config_global.php, Log in again Discuz x3.4 There will be no automatic exit in the forum background.