Discuz version

Discuz X3.4

List

Change Header -Power By Discuz

  1. Enter the directory /template/default/common and find header_common.htm 文件
  2. Just change -Power By Discuz inside title to what you want
  3. save refresh

Do not allow non-administrators to access admin.php

  1. Find admin.php in the website root directory and edit it
  2. Find $admincp->core = & $discuz; and enter the following code after a new line
  3. After saving and refreshing, non-administrator users will jump directly to the root directory.
if(!$_G['uid'] || !getstatus($_G['member']['allowadmincp'], 1)) {
header('Location: /');
}