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
Category finder style cleanups
[lhc/web/wiklou.git]
/
load.php
diff --git
a/load.php
b/load.php
index
d3e980f
..
1dd1a89
100644
(file)
--- a/
load.php
+++ b/
load.php
@@
-23,13
+23,13
@@
*/
// Bail if PHP is too low
*/
// Bail if PHP is too low
-if ( !function_exists( 'version_compare' ) || version_compare(
phpversion()
, '5.3.2' ) < 0 ) {
+if ( !function_exists( 'version_compare' ) || version_compare(
PHP_VERSION
, '5.3.2' ) < 0 ) {
// We need to use dirname( __FILE__ ) here cause __DIR__ is PHP5.3+
// We need to use dirname( __FILE__ ) here cause __DIR__ is PHP5.3+
- require
( dirname( __FILE__ ) . '/includes/PHPVersionError.php' )
;
+ require
dirname( __FILE__ ) . '/includes/PHPVersionError.php'
;
wfPHPVersionError( 'load.php' );
}
wfPHPVersionError( 'load.php' );
}
-require
( __DIR__ . '/includes/WebStart.php' )
;
+require
__DIR__ . '/includes/WebStart.php'
;
wfProfileIn( 'load.php' );
wfProfileIn( 'load.php' );