dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Support multi-content diffs on Special:Undelete"
[lhc/web/wiklou.git]
/
index.php
diff --git
a/index.php
b/index.php
index
2423092
..
0df4cd0
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-8,7
+8,7
@@
* See the README, INSTALL, and UPGRADE files for basic setup instructions
* and pointers to the online documentation.
*
* See the README, INSTALL, and UPGRADE files for basic setup instructions
* and pointers to the online documentation.
*
- * https://www.mediawiki.org/
+ * https://www.mediawiki.org/
wiki/Special:MyLanguage/MediaWiki
*
* ----------
*
*
* ----------
*
@@
-32,10
+32,9
@@
// Bail on old versions of PHP, or if composer has not been run yet to install
// dependencies. Using dirname( __FILE__ ) here because __DIR__ is PHP5.3+.
// Bail on old versions of PHP, or if composer has not been run yet to install
// dependencies. Using dirname( __FILE__ ) here because __DIR__ is PHP5.3+.
-//
@codingStandardsIgnoreStart
MediaWiki.Usage.DirUsage.FunctionFound
+//
phpcs:ignore
MediaWiki.Usage.DirUsage.FunctionFound
require_once dirname( __FILE__ ) . '/includes/PHPVersionCheck.php';
require_once dirname( __FILE__ ) . '/includes/PHPVersionCheck.php';
-// @codingStandardsIgnoreEnd
-wfEntryPointCheck( 'index.php' );
+wfEntryPointCheck( 'html', dirname( $_SERVER['SCRIPT_NAME'] ) );
require __DIR__ . '/includes/WebStart.php';
require __DIR__ . '/includes/WebStart.php';