Code Context public function setLang($lang){
CakeSession::write('Config.language', $lang);
$this->redirect($_SERVER['HTTP_REFERER']);
$lang = 'pol'
PagesController::setLang() - ROOTappROOTControllerROOTPagesController.php, line 75
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 191
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - ROOTappROOTwebrootROOTindex.php, line 108