找到后台文件:admin/includes/init.php 打开
将以下内容:
if (isset($_SERVER[‘PHP_SELF‘])) { define(‘PHP_SELF‘, $_SERVER[‘PHP_SELF‘]); }
修改成以下内容:
if (isset($_SERVER[‘PHP_SELF‘])) { define( ‘PHP_SELF‘ , $_SERVER[‘DOCUMENT_URI‘] ); }
后台即可正常登录。
时间: 2024-08-26 00:18:40