Created
June 3, 2016 14:36
-
-
Save olehwebdev/698811f1d796edf787a95aa49b3368c7 to your computer and use it in GitHub Desktop.
Редирект на ту-же страницу в zf2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///Controller/// | |
protected function serverUrl($fullpath = true) | |
{ | |
$serverUrl = $this->getServiceLocator()->get('viewhelpermanager')->get('serverurl'); | |
return $serverUrl($fullpath); | |
} | |
return $this->redirect()->toUrl($this->serverUrl(true)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment