禁止创建账号

来自太阳花Wiki
跳转至: 导航搜索


  • 1.编辑程序根目录下的"LocalSettings.php";
  • 2.替换此文件的如下代码;
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['read'] = false;