diff options
author | jeroendedauw <jeroendedauw@gmail.com> | 2012-08-27 21:03:15 +0200 |
---|---|---|
committer | jeroendedauw <jeroendedauw@gmail.com> | 2012-08-27 21:45:00 +0200 |
commit | 38c7f444e1c13327e203ce4e2890826782b39876 (patch) | |
tree | 06000d0da2caed2397b235b3932ed79d90320a2e /maintenance/rebuildImages.php | |
parent | d3f1d418dec7e3bc3e42dc28c321c308b4d28cdb (diff) | |
download | mediawikicore-38c7f444e1c13327e203ce4e2890826782b39876.tar.gz mediawikicore-38c7f444e1c13327e203ce4e2890826782b39876.zip |
Use __DIR__ instead of dirname( __FILE__ )
We can now do this since we finally switched to PHP 5.3 for MW 1.20 and get rid of the silly dirname(__FILE__) stuff :)
Change-Id: Id9b2c9cd2e678197aa81c78adced5d1d31ff57b1
Diffstat (limited to 'maintenance/rebuildImages.php')
-rw-r--r-- | maintenance/rebuildImages.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/rebuildImages.php b/maintenance/rebuildImages.php index 936efd7f0424..f5d06e4620ae 100644 --- a/maintenance/rebuildImages.php +++ b/maintenance/rebuildImages.php @@ -30,7 +30,7 @@ * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once( __DIR__ . '/Maintenance.php' ); /** * Maintenance script to update image metadata records. |