From 8f416baead93a48e5799e44b8bd2e2c4859f4e04 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 14 Sep 2007 13:18:58 +0200 Subject: auf Version 1.11 aktualisiert; Login-Bug behoben --- config/index.php | 291 ++++++++++++++++++++++++++++++++++++++++-------------- config/index.php5 | 6 ++ 2 files changed, 222 insertions(+), 75 deletions(-) create mode 100644 config/index.php5 (limited to 'config') diff --git a/config/index.php b/config/index.php index e719e47e..274a1531 100644 --- a/config/index.php +++ b/config/index.php @@ -29,10 +29,6 @@ $wgRequestTime = microtime( true ); # Attempt to set up the include path, to fix problems with relative includes $IP = dirname( dirname( __FILE__ ) ); define( 'MW_INSTALL_PATH', $IP ); -$sep = PATH_SEPARATOR; -if( !ini_set( "include_path", ".$sep$IP$sep$IP/includes$sep$IP/languages" ) ) { - set_include_path( ".$sep$IP$sep$IP/includes$sep$IP/languages" ); -} # Define an entry point and include some files define( "MEDIAWIKI", true ); @@ -40,14 +36,21 @@ 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" ); +require_once( "$IP/install-utils.inc" ); install_version_checks(); -require_once( "includes/Defines.php" ); -require_once( "includes/DefaultSettings.php" ); -require_once( "includes/MagicWord.php" ); -require_once( "includes/Namespace.php" ); -require_once( "includes/ProfilerStub.php" ); +require_once( "$IP/includes/Defines.php" ); +require_once( "$IP/includes/DefaultSettings.php" ); +require_once( "$IP/includes/AutoLoader.php" ); +require_once( "$IP/includes/MagicWord.php" ); +require_once( "$IP/includes/Namespace.php" ); +require_once( "$IP/includes/ProfilerStub.php" ); +require_once( "$IP/includes/GlobalFunctions.php" ); +require_once( "$IP/includes/Hooks.php" ); + +# If we get an exception, the user needs to know +# all the details +$wgShowExceptionDetails = true; ## Databases we support: @@ -146,6 +149,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%; + }