Code Configure::write('Config.language', $this->Session->read('lang'));
}else{
$options = explode(',',$_SERVER['HTTP_ACCEPT_LANGUAGE']);
AppController::beforeFilter() - APP/app_controller.php, line 69
AlbumsController::beforeFilter() - APP/controllers/albums_controller.php, line 11
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 526
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83