Configuration changes

From OPeNDAP Documentation
Revision as of 16:56, 20 March 2007 by Jimg (talk | contribs) (New page: LocalSettings.php hacks: <pre> # This snippet prevents new registrations from anonymous users # (Sysops can still create user accounts) $wgGroupPermissions['*']['createaccount'] = false; ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LocalSettings.php hacks:

# This snippet prevents new registrations from anonymous users
# (Sysops can still create user accounts)
$wgGroupPermissions['*']['createaccount'] = false;

# This prevents anonymous users from editing.
$wgGroupPermissions['*']['edit'] = false;
require_once( "includes/DefaultSettings.php" );

# Types of files which may be uploaded.
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'txt', 'ppt');

# OPeNDAP Logo
$wgLogo = "http://www.opendap.org/images/OPeNDAP-meatball.png";
$wgFavicon = "http://www.opendap.org/favicon.ico";

# Allow raw HTML. Normally 'dangerous' but we limit edits so it should be OK
$wgRawHtml = true;

# disable anonomous talk
$wgDisableAnonTalk = true;

# Set the article path
#$wgArticlePath = "/$1";

Changed MAX_FILE_SIZE in SpecialImport.php to 10485760