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:
parent
c0e131b5f7
commit
d35a85dd6c
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue