1
0
Fork 0
mirror of https://github.com/Oreolek/oreolek.ru.git synced 2024-05-17 00:18:22 +03:00

It's hard to get back to Kohana after the break.

This commit is contained in:
Alexander Yakovlev 2016-03-27 18:17:22 +07:00
parent c0e131b5f7
commit d35a85dd6c

View file

@ -142,8 +142,8 @@ class Controller_Post extends Controller_Layout {
**/
public function action_read()
{
if($this->request->get('p')) {
$this->redirect('/Post/view/'.$this->request->get('p'));
if($this->request->query('p')) {
$this->redirect('/Post/view/'.$this->request->query('p'));
}
$this->auto_render = FALSE;
$cache = Cache::instance('apcu');