Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 4
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3/**
4 * Some default configuration that is needed for this extension
5 */
6
7if ( defined( 'MW_PHPUNIT_TEST' ) ) {
8    return;
9}
10
11// Remove the default illegal char ':' - needed it to determine NS
12$GLOBALS['wgIllegalFileChars'] = str_replace( ":", "", $GLOBALS['wgIllegalFileChars'] );
13
14//Activate "nsfr_img_auth.php"
15//This may be obsolete in future MW versions
16$GLOBALS['wgUploadPath'] = $GLOBALS['wgScriptPath'] .'/nsfr_img_auth.php';