Code Configure::write('Config.language', $this->Session->read('lang'));
}else{
$options = explode(',',$_SERVER['HTTP_ACCEPT_LANGUAGE']);
AppController::beforeFilter() - APP/app_controller.php, line 69
ArtistsController::beforeFilter() - APP/controllers/artists_controller.php, line 13
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