Code Context {
// if $http_accept_language was left out, read it from the HTTP-Header
if ($http_accept_language == "auto") $http_accept_language = $_SERVER['HTTP_ACCEPT_LANGUAGE'];
$available_languages = array(
(int) 0 => 'eu',
(int) 1 => 'es',
(int) 2 => 'en',
(int) 3 => 'fr'
)
$http_accept_language = 'auto'
AppController::_preferedLanguage() - APP/Controller/AppController.php, line 126
AppController::_setLanguage() - APP/Controller/AppController.php, line 91
AppController::beforeFilter() - APP/Controller/AppController.php, line 33
DemandasController::beforeFilter() - APP/Controller/DemandasController.php, line 25
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 676
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118