X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FattachLatest.php;h=2cf277fe24f281e42bfeedefc5db02a5c09de662;hb=66e8143bf5c22b8d44ec5189fe2bea32df2d91c3;hp=78cae8cfb3da11174545e2b7159360054d7c3408;hpb=69b907cc2085ef9c4cb4236423a4a84872a33db7;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;