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
Use __DIR__ instead of dirname( __FILE__ )
[lhc/web/wiklou.git]
/
maintenance
/
fileOpPerfTest.php
diff --git
a/maintenance/fileOpPerfTest.php
b/maintenance/fileOpPerfTest.php
index
0f73e88
..
501bcfc
100644
(file)
--- a/
maintenance/fileOpPerfTest.php
+++ b/
maintenance/fileOpPerfTest.php
@@
-25,7
+25,7
@@
$initialTime = microtime( true );
$wgProfiler = array( 'class' => 'ProfilerSimpleText' );
error_reporting( E_ALL );
-require_once(
dirname( __FILE__ )
. '/Maintenance.php' );
+require_once(
__DIR__
. '/Maintenance.php' );
/**
* Maintenance script to test fileop performance.