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
#3354 : LanguagePt update by Get_it
[lhc/web/wiklou.git]
/
includes
/
Setup.php
diff --git
a/includes/Setup.php
b/includes/Setup.php
index
6707677
..
a5964ef
100644
(file)
--- a/
includes/Setup.php
+++ b/
includes/Setup.php
@@
-80,7
+80,7
@@
if ( $wgUseDynamicDates ) {
wfProfileOut( $fname.'-includes' );
wfProfileIn( $fname.'-misc1' );
wfProfileOut( $fname.'-includes' );
wfProfileIn( $fname.'-misc1' );
-$wgIP =
wfGetIP();
+$wgIP =
false; # Load on demand
$wgRequest = new WebRequest();
# Useful debug output
$wgRequest = new WebRequest();
# Useful debug output
@@
-153,7
+153,7
@@
wfProfileIn( $fname.'-language1' );
require_once( "$IP/languages/Language.php" );
require_once( "$IP/languages/Language.php" );
-function setupLangObj(
&
$langclass) {
+function setupLangObj($langclass) {
global $IP;
if( ! class_exists( $langclass ) ) {
global $IP;
if( ! class_exists( $langclass ) ) {