Manual:Setup.php

This file is included from , provided the   constant is not defined.

It must be included after .

Description
It does the following:


 * 1) First it changes some config>Special:MyLanguage/Manual:Configuration settings|configuration settings such as paths variables that aren't customized in LocalSettings.php so that they don't need to be modified if  is changed or it updates new configuration settings from the backward compatible ones.
 * 1) Next it includes some commonly used files.
 * 1) It starts the PHP session if the session cookie or the user token cookie are present.
 * 1) It creates stub objects for globalobj>Special:MyLanguage/Manual:Global object variables|global object variables, those globals will be unstubbed at the first call of one of their method.
 * 1) It runs all functions in .
 * 1) And calls some deprecated hooks for backward compatibility: , , <tvar|hooklogheader></> and <tvar|hookactiontxt></>.