Code Context if (!$this->Session->check('Config.language')) {
//checking the 1st favorite language of the user's browser
$browserLanguage = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
AppController::_checkBrowserLanguage() - APP/Controller/AppController.php, line 102
AppController::beforeFilter() - APP/Controller/AppController.php, line 71
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 242
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108