Code Context $this->set('color', $color);
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
$color = (int) 1
AppController::beforeFilter() - APP/Controller/AppController.php, line 45
ProductsController::beforeFilter() - APP/Controller/ProductsController.php, line 10
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 111