Тема: Как работает Notification в gelato?
// создаю пустой файл
if(File::setContent(DIR.DS.$add_files_root.DS.$_POST['add_files'], '')){
Notification::set('add_files', 'Data has been saved with success!');
} else {
Notification::set('add_files', 'Data not saved!');
}
// пере адресация (избовляюсь от повторной отправки формы )
Request::redirect(Url::base()); exit;echo Notification::get('add_files'); не чего потом не выводит ![]()
Заглянул в сессию там вот что есть
Array
(
..........
[notifications] => Array
(
[add_files] => Data has been saved with success!
)
)Как быть!
