function setupTemplate($className, $repository = false, $cache_dir = false) { global $wgFavicon, $wgStylePath; $tpl = parent::setupTemplate($className, $repository, $cache_dir); $tpl->set('skinpath', "{$wgStylePath}/offline"); $tpl->set('favicon', $wgFavicon); return $tpl; }
function setupTemplate($className, $repository = false, $cache_dir = false) { global $wgFavicon; $tpl = parent::setupTemplate($className, $repository, $cache_dir); $tpl->set('skinpath', $this->skinpath); $tpl->set('favicon', $wgFavicon); return $tpl; }