X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FcheckImages.php;h=e6aea53764cf9b2f5a2aa99cc0aa90f9c1cca7c7;hb=b1d6e78f7444211cc93793103c3673e1a2637a69;hp=d7463ece287ad0a6d3703fe69fbf6b5f6c34f7e3;hpb=458f106e32d4af8455e20af9a8d69b5dfe89f9b5;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/checkImages.php b/maintenance/checkImages.php index d7463ece28..e6aea53764 100644 --- a/maintenance/checkImages.php +++ b/maintenance/checkImages.php @@ -20,7 +20,7 @@ * @file * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script to check images to see if they exist, are readable, etc. @@ -87,4 +87,4 @@ class CheckImages extends Maintenance { } $maintClass = "CheckImages"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;