Code Context $data=$this->requestAction($controller.DS.'get/'.$slug);
$lang=''; if (isset($_COOKIE['lang'])){ $lang=$_COOKIE['lang']; }else{ $lang='PT'; }
return $this->redirect(DS.'actividade'.DS.$data[$module]['slug'.$lang]);
$slug = 'cavaquinhos'
$module = 'Activity'
$controller = 'activities'
$settings = array(
'Website' => array(
'password' => '*****',
'id' => '1',
'title' => 'Freguesia de Lomar e Arcos',
'teste' => '4564',
'descricao' => 'No Website da Freguesia de Lomar e Arcos o cidadão pode solicitar documentos, apresentar sugestões ou conhecer as últimas notícias sobre a região.',
'keywords' => 'união, freguesias, Lomar, Arcos, Braga, actividades, desporto, saúde, programas, atestados, certidões, licenças',
'email' => 'geral@ufla.pt',
'endereco' => 'http://uf-lomar-arcos.pt/',
'facebook' => 'https://pt-pt.facebook.com/uflomar.arcos/',
'twitter' => 'https://www.instagram.com/freguesia_lomar_arcos/',
'youtube' => '',
'google' => '',
'protocolo' => '1',
'email2' => 'geral@ufla.pt',
'servidor' => 'mail.ufla.pt',
'porta' => '25',
'script' => '<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-95RM310RXS"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-95RM310RXS');
</script>',
'email3' => 'rtew',
'passwordgoogle' => '6trew',
'profileID' => '156047663',
'created' => '2014-01-09 11:02:47',
'modified' => '2024-09-26 20:57:09',
'languages' => '["PT"]',
'languages_fo' => '[]',
'languagesmain' => 'PT',
'image' => 'A.jpg',
'offline' => '0',
'text_offlinePT' => '<p>Em manutenção.</p>
',
'text_offlineEN' => '<p>Under Maintenance.</p>
',
'text_offlineES' => '',
'text_offlineFR' => '',
'text_offlineDE' => ''
)
)
$val = 'PT'
$data = array()
$lang = 'PT'
ActivitiesController::record() - APP/Controller/ActivitiesController.php, line 71
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108