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