X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=config%2Findex.php;h=3f663379d884965d8bfd6a18f195d035ab9f9b59;hb=2138c487a5ea15e693ff7adb2eac3b6358c8325a;hp=875e43bc427391db22168630100b76a80855d74f;hpb=9a00ffc72c2d3219f64b8620073bf6de2a7d4d7c;p=lhc%2Fweb%2Fwiklou.git diff --git a/config/index.php b/config/index.php index 875e43bc42..3f663379d8 100644 --- a/config/index.php +++ b/config/index.php @@ -37,11 +37,24 @@ if( !ini_set( "include_path", ".$sep$IP$sep$IP/includes$sep$IP/languages" ) ) { # Define an entry point and include some files define( "MEDIAWIKI", true ); define( "MEDIAWIKI_INSTALL", true ); + +// Run version checks before including other files +// so people don't see a scary parse error. +require_once( "install-utils.inc" ); +install_version_checks(); + require_once( "includes/Defines.php" ); require_once( "includes/DefaultSettings.php" ); +require_once( "includes/AutoLoader.php" ); require_once( "includes/MagicWord.php" ); require_once( "includes/Namespace.php" ); require_once( "includes/ProfilerStub.php" ); +require_once( "includes/GlobalFunctions.php" ); +require_once( "includes/Hooks.php" ); + +# If we get an exception, the user needs to know +# all the details +$wgShowExceptionDetails = true; ## Databases we support: @@ -140,6 +153,15 @@ $ourdb['postgres']['rootuser'] = 'postgres'; font-size: 85%; padding-top: 3em; } + + span.success-message { + font-weight: bold; + font-size: 110%; + color: green; + } + .success-box { + font-size: 130%; + }