X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcheckSyntax.php;h=1e44e239e073af7e6fc8cdcc31bf205ca4eee943;hb=dca3fc743d4fd52a95f7fa3da4309adc41af9341;hp=3019b8427a6391d3a8cb9f683e88e87250931c27;hpb=c5d3a6a715514b895caf301d957cfa351c8e49ca;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/checkSyntax.php b/maintenance/checkSyntax.php index 3019b8427a..1e44e239e0 100644 --- a/maintenance/checkSyntax.php +++ b/maintenance/checkSyntax.php @@ -21,7 +21,7 @@ * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once( __DIR__ . '/Maintenance.php' ); /** * Maintenance script to check syntax of all PHP files in MediaWiki. @@ -368,4 +368,3 @@ class CheckSyntax extends Maintenance { $maintClass = "CheckSyntax"; require_once( RUN_MAINTENANCE_IF_MAIN ); -