/** * Удаление страницы: */ public function staticDeleteAction(Application $application, Template $template) { StaticModel::RemovePage($_GET['page']); $template->headerSeeOther($_SERVER['HTTP_REFERER']); exit; }