MediaWiki REL1_31
|
This does the initial set up for a web request. More...
Go to the source code of this file.
Variables | |
$IP = getenv( 'MW_INSTALL_PATH' ) | |
float | $wgRequestTime = $_SERVER['REQUEST_TIME_FLOAT'] |
Request start time as fractional seconds since epoch. | |
if( $IP===false) if(!defined('MW_CONFIG_CALLBACK')) | if (!defined('MW_SETUP_CALLBACK')) |
const | MEDIAWIKI true |
This does the initial set up for a web request.
It does some security checks, loads autoloaders, constants, and global functions, starts the profiler, loads the configuration, and loads Setup.php, which loads extensions using the extension registration system and initializes the application's global state.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html
Definition in file WebStart.php.
$IP = getenv( 'MW_INSTALL_PATH' ) |
Definition at line 52 of file WebStart.php.
float $wgRequestTime = $_SERVER['REQUEST_TIME_FLOAT'] |
Request start time as fractional seconds since epoch.
Definition at line 42 of file WebStart.php.
if($IP===false) if(!defined( 'MW_CONFIG_CALLBACK')) if(!defined( 'MW_SETUP_CALLBACK')) | ( | ! | defined'MW_SETUP_CALLBACK' | ) |
Definition at line 77 of file WebStart.php.
const MEDIAWIKI true |
Definition at line 49 of file WebStart.php.