Jump to content

Manual:Load.php: Difference between revisions

From mediawiki.org
Content deleted Content added
m lowercase
MrBlueSky (talk | contribs)
No edit summary
Line 1: Line 1:
{{MW file|load.php|/}}
{{MW file|load.php|/}}


'''load.php''' is a script for the front-end to hook into for loading [[ResourceLoader]] modules.
== Details ==


== Details ==
Script for the front-end to hook into for loading ResourceLoader modules
First it checks the PHP version, which must be 5.2.3. or higher, and it includes [[Manual:WebStart.php|WebStart.php]]. Next, it creates a [http://svn.wikimedia.org/doc/classResourceLoader.html <code>ResourceLoader</code> object] and calls its <code>respond()</code> method, which outputs the specified resource content, including a content-type header.


{{Languages}}
{{Languages}}

Revision as of 00:34, 13 February 2012

load.php is a script for the front-end to hook into for loading ResourceLoader modules.

Details

First it checks the PHP version, which must be 5.2.3. or higher, and it includes WebStart.php. Next, it creates a ResourceLoader object and calls its respond() method, which outputs the specified resource content, including a content-type header.