X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=blobdiff_plain;f=maintenance%2FpopulateCategory.php;h=4c8cdaa18a59c011ed9279f37019d7b58f98466c;hb=a4b62f1b8572651a3301f0809aa7a4efa5bfc1a3;hp=037849bd3c4c3f450902191225b3e26b35325b77;hpb=ca2b80b9c272f4a7e49461875e907680632de7ce;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateCategory.php b/maintenance/populateCategory.php index 037849bd3c..4c8cdaa18a 100644 --- a/maintenance/populateCategory.php +++ b/maintenance/populateCategory.php @@ -22,7 +22,7 @@ * @author Simetrical */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Mainteance script to populate the category table. @@ -142,4 +142,4 @@ TEXT; } $maintClass = "PopulateCategory"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;