public function configureThemePath() { if ($this->http->isAdmin()) { $this->themeFolder = "view/admin"; $this->themePath = __VIEWDIR__ . "/admin"; } else { $themeName = $this->conf->getTheme(); $this->themeFolder = "view/public/{$themeName}"; $this->themePath = __VIEWDIR__ . "/public/{$themeName}"; } }