X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FattachLatest.php;h=2cf277fe24f281e42bfeedefc5db02a5c09de662;hb=688200c607640e77029d171803a7a72832519aa2;hp=78cae8cfb3da11174545e2b7159360054d7c3408;hpb=5446238520cceb067792338cdfc83a343b480e15;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/attachLatest.php b/maintenance/attachLatest.php index 78cae8cfb3..2cf277fe24 100644 --- a/maintenance/attachLatest.php +++ b/maintenance/attachLatest.php @@ -24,7 +24,7 @@ * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script to correct wrong values in the `page_latest` field @@ -83,4 +83,4 @@ class AttachLatest extends Maintenance { } $maintClass = "AttachLatest"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;