From: umherirrender Date: Fri, 22 Aug 2014 20:13:16 +0000 (+0200) Subject: Pass config to ResourceLoader from OutputPage X-Git-Tag: 1.31.0-rc.0~14317^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=dfb1976bd560a39b80cf0ba061b2bf0f76829bee;p=lhc%2Fweb%2Fwiklou.git Pass config to ResourceLoader from OutputPage Change-Id: Iae99ab65a254fc3fe3acac764a068470f99af1c4 --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index c98f34b172..f3b8c98a6e 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2679,7 +2679,7 @@ $templates */ public function getResourceLoader() { if ( is_null( $this->mResourceLoader ) ) { - $this->mResourceLoader = new ResourceLoader(); + $this->mResourceLoader = new ResourceLoader( $this->getConfig() ); } return $this->mResourceLoader; }