From d81f562b712f2387fa02290bf2ca86392ab356f2 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 11 Oct 2006 20:21:25 +0000 Subject: Aktualisierung auf Version 1.8.1 --- index.php | 84 +++------------------------------------------------------------ 1 file changed, 4 insertions(+), 80 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index f18fa8a6..964770ee 100644 --- a/index.php +++ b/index.php @@ -1,83 +1,7 @@ $GLOBALS overwrite vulnerability'); -} - -# Valid web server entry point, enable includes. -# Please don't move this line to includes/Defines.php. This line essentially -# defines a valid entry point. If you put it in includes/Defines.php, then -# any script that includes it becomes an entry point, thereby defeating -# its purpose. -define( 'MEDIAWIKI', true ); - -# Load up some global defines. -require_once( './includes/Defines.php' ); - -# LocalSettings.php is the per site customization file. If it does not exit -# the wiki installer need to be launched or the generated file moved from -# ./config/ to ./ -if( !file_exists( 'LocalSettings.php' ) ) { - $IP = '.'; - require_once( 'includes/DefaultSettings.php' ); # used for printing the version -?> - - - - MediaWiki <?php echo $wgVersion ?> - - - - - The MediaWiki logo - -

MediaWiki

-
- config/LocalSettings.php to the parent directory.' ); - } else { - echo( 'Please setup the wiki first.' ); - } - ?> - -
- - -getVal( 'title' ); # Send Ajax requests to the Ajax dispatcher. # if ( $wgUseAjax && $action == 'ajax' ) { - require_once( 'AjaxDispatcher.php' ); + require_once( $IP . '/includes/AjaxDispatcher.php' ); $dispatcher = new AjaxDispatcher(); $dispatcher->performAction(); - + $mediaWiki->restInPeace( $wgLoadBalancer ); exit; } -- cgit v1.2.3-54-g00ecf