public function getThemeConfig($theme)
	{
		Yii::import('mustangostang.spyc.Spyc');
		define('DS', DIRECTORY_SEPARATOR);

		$themeName = $this->urlTitle($theme);
		$configPath = Yii::getPathOfAlias('webroot.themes.'.$theme).DS.$themeName.'.yaml';

		if(file_exists($configPath))
			return Spyc::YAMLLoad($configPath);
		else
			return null;
	}