mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
Avoiding manual edits to LocalSettings.php by overriding the configuration in another file called FreedomBoxSettings.php and including it in LocalSettings.php. This avoids bugs and makes configuration changes trivial. Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
20 lines
410 B
PHP
20 lines
410 B
PHP
<?php
|
|
|
|
# Default logo
|
|
$wgLogo = "$wgResourceBasePath/resources/assets/mediawiki.png";
|
|
|
|
# Enable file uploads
|
|
$wgEnableUploads = true;
|
|
|
|
# Public registrations
|
|
$wgGroupPermissions['*']['createaccount'] = false;
|
|
|
|
# Read/write permissions for anonymous users
|
|
$wgGroupPermissions['*']['edit'] = false;
|
|
$wgGroupPermissions['*']['read'] = true;
|
|
|
|
# Short urls
|
|
$wgArticlePath = "/mediawiki/$1";
|
|
$wgUsePathInfo = true;
|
|
|