public function actionPrerequisites()
	{
		$checks = SystemCheck::getResults();

		$hasError = FALSE;
		foreach ($checks as $check) {
			if ($check['state'] == 'ERROR')
				$hasError = TRUE;
		}

		// Render template
		return $this->render('prerequisites', ['checks' => $checks, 'hasError' => $hasError]);
	}