From 16c0db599b356b7c445c5e7daf5573ff3d2f41ed Mon Sep 17 00:00:00 2001 From: RomanSteinberg <romanofficial@yandex.ru> Date: Sun, 11 Jan 2015 14:05:09 +0300 Subject: [PATCH] FIX: coockie fD was not created --- .../application/classes/Controller/DeanOffice/Index.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/~dev_rating/application/classes/Controller/DeanOffice/Index.php b/~dev_rating/application/classes/Controller/DeanOffice/Index.php index 4473e1a2e..10cece405 100644 --- a/~dev_rating/application/classes/Controller/DeanOffice/Index.php +++ b/~dev_rating/application/classes/Controller/DeanOffice/Index.php @@ -2,6 +2,12 @@ class Controller_DeanOffice_Index extends Controller_UserEnvi { + public function before() { + Cookie::set('fD', 'true'); // Ставим кук fD, чтоб иметь возможность скачать файл + + parent::before(); + } + public function action_index() { $twig = Twig::factory('dean_office/index'); -- GitLab