public function actionList()
	{
		// Don't allow theme listing in CII_CONFIG
		if (defined('CII_CONFIG'))
			return false;

		$response = Yii::app()->cache->get('CiiMS::API::Themes::Available');
		if ($response === false)
		{
			$url = 'https://themes.ciims.io/index.json';
			$curl = new \Curl\Curl;
			$response = $curl->get($url);

			if ($curl->error)
				throw new CHttpException(500, Yii::t('Api.index', 'Failed to retrieve remote resource.'));

			$curl->close();

			Yii::app()->cache->set('CiiMS::API::Themes::Available', $response, 900);
		}

		return $response;
	}