Manual:index.php

De JFCM
Aller à : navigation, rechercher

As of MediaWiki version 1.18, some of the startup logic has been moved from index.php, and index.php performs the following actions:

  • Check the version of PHP and if its not 5.2.3 or higher, display an error.
  • Include WebStart.php, which in turn includes LocalSettings.php, Setup.php and some other files.
  • Instantiate a MediaWiki object called $mediaWiki, which is defined in MediaWiki.php.
  • Call $mediaWiki->run().