Difference between revisions of "Creating New Account Access change"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 4: Line 4:
  
 
File location: /var/www/nuclear/wiki/includes/DefaultSettings.php on roentgen.unh.edu line 824
 
File location: /var/www/nuclear/wiki/includes/DefaultSettings.php on roentgen.unh.edu line 824
$wgGroupPermissions['*'    ]['createaccount']  = false/true;
+
<code>$wgGroupPermissions['*'    ]['createaccount']  = false/true;</code>
  
After you change the value, remember to restart the http by the command: /etc/init.d/httpd restart
+
After you change the value, remember to restart the http daemon by the command: /etc/init.d/httpd restart

Revision as of 15:01, 9 June 2009

Current nobody can create an account on nuclear.unh.edu/wiki. The method to perform this is that we change the default value of creating account ability to false.

Do remember, on the next upgrade of MediaWiki, you need to change the value back to true. This is very very very important or upgrading will be lost.

File location: /var/www/nuclear/wiki/includes/DefaultSettings.php on roentgen.unh.edu line 824 $wgGroupPermissions['*' ]['createaccount'] = false/true;

After you change the value, remember to restart the http daemon by the command: /etc/init.d/httpd restart