aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/showStats.php
diff options
context:
space:
mode:
authorjeroendedauw <jeroendedauw@gmail.com>2012-08-27 21:03:15 +0200
committerjeroendedauw <jeroendedauw@gmail.com>2012-08-27 21:45:00 +0200
commit38c7f444e1c13327e203ce4e2890826782b39876 (patch)
tree06000d0da2caed2397b235b3932ed79d90320a2e /maintenance/showStats.php
parentd3f1d418dec7e3bc3e42dc28c321c308b4d28cdb (diff)
downloadmediawikicore-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/showStats.php')
-rw-r--r--maintenance/showStats.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/showStats.php b/maintenance/showStats.php
index b284a9acb040..f16853d7e24e 100644
--- a/maintenance/showStats.php
+++ b/maintenance/showStats.php
@@ -28,7 +28,7 @@
* @license GNU General Public License 2.0 or later
*/
-require_once( dirname( __FILE__ ) . '/Maintenance.php' );
+require_once( __DIR__ . '/Maintenance.php' );
class ShowStats extends Maintenance {
public function __construct() {