Code Context //if ($PASSED_VARS[$passCustomCategory] == "a-propos" || $PASSED_VARS[$passCustomCategory] == "about") { header("HTTP/1.0 404 Not Found"); exit; }
if (in_array($PASSED_VARS[$passCustomCategory], array('contact','about','a-propos','legals', 'mentions-legales', 'add-event', 'ajouter', 'partners', 'partenaires', 'edit', 'editer'))) {
$browserLanguage = null
$PASSED_VARS = array(
(int) 0 => 'en'
)
$last_element = 'en'
$titles = array(
'fr' => 'So Montréal',
'en' => 'So Montréal',
'long_description_fr' => 'Découvrez toutes les idées de sorties à Montréal, que vous soyez entre amis, en famille, seul ou en couple. Disponible également sur iOS et Android.',
'long_description_en' => 'Discover all the attractions and things to do in Montreal, whether you're with friends, family, alone or with your love. Also available on iOS and Android.',
'blog_title' => 'Toutes les nouvelles',
'long_description_fr_blog' => 'Montréal, votre ville, votre terrain de jeu. Restez informés avec le site d'actualités So Montréal : sorties, événements culturels, vie communautaire, bons plans et destinations shopping.',
'short_description_fr' => 'Quoi faire à Montréal ? Quand ? Où ?',
'short_description_en' => 'What to do in Montreal? When? Where?',
'a-propos' => 'À propos de notre projet',
'about' => 'About our project',
'contact' => 'Contact',
'mentions-legales' => 'Mentions Légales',
'legals' => 'Legals',
'add-event' => 'Add an activity',
'ajouter' => 'Ajouter une activité',
'edit' => 'Edit an activity',
'editer' => 'Modifier une activité',
'partners' => 'Partners',
'partenaires' => 'Partenaires'
)
$language = 'en'
$passCustomCategory = (int) 1
$passCustomEvent = (int) 2
$oppositeLangs = array(
'en' => 'fr',
'fr' => 'en'
)
$oppositeLang = 'fr'
$title_for_layout = 'So Montréal – What to do in Montreal? When? Where?'
$hometitle_for_layout = 'So Montréal – What to do in Montreal? When? Where?'
$description_for_layout = ''
$event = null
$category = null
$categories = null
$blogpost = null
$blogposts = null
$indexedPage = true
$pulse = false
$this = object(WwwController) {
limitEvents => (int) 12
helpers => array(
'Facebook.Facebook' => null,
'Html' => null,
'Cache' => null,
'HTML' => null,
'Js' => null,
'Session' => null,
'SM' => null
)
components => array(
(int) 0 => 'RequestHandler',
(int) 1 => 'Session',
'Auth' => array(
[maximum depth reached]
)
)
name => 'Www'
uses => array(
(int) 0 => 'Www'
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Www'
layoutPath => null
viewVars => array(
'moment' => 'moment-morning',
'user' => false
)
view => 'homepage'
layout => 'www'
autoRender => false
autoLayout => false
Components => object(ComponentCollection) {}
viewClass => 'View'
View => null
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array()
scaffold => false
methods => array(
(int) 1 => 'homepage',
(int) 2 => 'sitemap',
(int) 3 => 'offer',
(int) 4 => 'iframe',
(int) 5 => '__getDayMoment'
)
modelClass => 'Www'
modelKey => 'www'
validationErrors => null
RequestHandler => object(RequestHandlerComponent) {}
Session => object(SessionComponent) {}
Auth => object(AuthComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
WwwController::homepage() - APP/Controller/WwwController.php, line 107
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104
AppController::beforeFilter() - APP/Controller/AppController.php, line 96
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 677
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 158
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 95
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 126
[main] - [internal], line ??