MediaWiki
REL1_22
|
This does the initial setup for a web request. More...
Go to the source code of this file.
Enumerations | |
enum | MEDIAWIKI |
Variables | |
$IP = getenv( 'MW_INSTALL_PATH' ) | |
$wgProfiler = array() | |
$wgRequestTime = microtime( true ) | |
if ($IP===false) |
This does the initial setup for a web request.
It does some security checks, starts the profiler and loads the configuration, and optionally loads Setup.php depending on whether MW_NO_SETUP is defined.
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.
enum MEDIAWIKI |
Definition at line 79 of file WebStart.php.
$IP = getenv( 'MW_INSTALL_PATH' ) |
Definition at line 85 of file WebStart.php.
Referenced by ApiQueryQueryPage\__construct(), CommandLineInstaller\__construct(), MimeMagic\__construct(), ResourceLoaderFileModule\__construct(), CheckSyntax\addPath(), AutoLoader\autoload(), CheckSyntax\buildFileList(), AutoLoaderTest\checkAutoLoadConf(), MWInit\compiledPath(), MysqlUpdater\doInterwikiUpdate(), CountMessages\execute(), DateFormats\execute(), MwSql\execute(), UpdateSpecialPages\execute(), UploadDumper\execute(), SpecialVersion\execute(), FindHooks\execute(), PHPUnitMaintClass\execute(), CommandLineInstaller\execute(), MWDocGen\execute(), GenerateNormalizerData\generateArabic(), GenerateCollationData\generateFirstChars(), GenerateNormalizerData\generateMalayalam(), ResourceLoaderStartUpModule\getModifiedTime(), ResourceLoaderStartUpModule\getScript(), SpecialVersion\getVersion(), SpecialVersion\getVersionLinkedGit(), SpecialVersion\getVersionLinkedSvn(), MWDocGen\init(), MWInit\interpretedPath(), DatabaseSqliteTest\prepareDB(), GitInfo\repo(), UploadFromUrlTestSuite\setUp(), NewParserTest\setUp(), UploadFromUrlTestSuite\setupUploadDir(), ParserTest\setupUploadDir(), NewParserTest\setupUploads(), OracleInstaller\setupUser(), MediaWikiParserTest\suite(), DatabaseSqliteTest\testEntireSchema(), DatabaseTest\testStoredFunctions(), wfGetPrecompiledData(), and wfShellExec().
$wgProfiler = array() |
Definition at line 104 of file WebStart.php.
Referenced by Profiler\instance().
$wgRequestTime = microtime( true ) |
Definition at line 65 of file WebStart.php.
Referenced by RebuildFileCache\execute(), MWDebug\getDebugInfo(), Profiler\getInitialTime(), wfDebugTimer(), wfLogProfilingData(), and wfReportTime().
Definition at line 86 of file WebStart.php.