X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FTemplateParser.php;h=470a75c4b9820878bf81b31b05de325960c2b1a6;hb=b225a84ff95badf1e407c3952e1e0c540507a8e8;hp=a1e6d5b5a7126e12b1a7a86391cf22a036b5ad71;hpb=1e3c2e5904d628c001a8d65909b135ea9bf042aa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/TemplateParser.php b/includes/TemplateParser.php index a1e6d5b5a7..470a75c4b9 100644 --- a/includes/TemplateParser.php +++ b/includes/TemplateParser.php @@ -1,4 +1,6 @@ makeConfig( 'main' ); + $config = MediaWikiServices::getInstance()->getMainConfig(); $secretKey = $config->get( 'SecretKey' ); if ( $secretKey ) {