Use __DIR__ instead of dirname( __FILE__ )
[lhc/web/wiklou.git] / maintenance / rebuildImages.php
index 936efd7..f5d06e4 100644 (file)
@@ -30,7 +30,7 @@
  * @ingroup Maintenance
  */
 
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( __DIR__ . '/Maintenance.php' );
 
 /**
  * Maintenance script to update image metadata records.