/** * Get and unserialize serialized settings * * @param string $theme theme folder name * @param string $return 'value' or 'default' * @return array - of theme settings */ public function getThemeSettings($theme = '', $return = 'value') { require_once LIBS . 'ThemeSettings.php'; $themeSettings = new ThemeSettings(); return $themeSettings->getThemeSettings($this, $theme, $return); }