Newscoop\Services\TemplatesService::preconfigureSmarty PHP Method

preconfigureSmarty() private method

private preconfigureSmarty ( )
    private function preconfigureSmarty()
    {
        $this->smarty->addTemplateDir(realpath(APPLICATION_PATH . '/../themes/' . $this->themesService->getThemePath()));
        $this->smarty->config_dir = realpath(APPLICATION_PATH . '/../themes/' . $this->themesService->getThemePath() . '_conf');
        // reverse templates dir order
        $this->smarty->setTemplateDir(array_reverse($this->smarty->getTemplateDir()));
        $this->preconfigureVector();
    }