Code Context
if(!$this->Session->check('Config.language')){
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
AppController::beforeFilter() - APP/Controller/AppController.php, line 50
ContactsController::beforeFilter() - APP/Controller/ContactsController.php, line 8
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109