singularise(_NAMESPACE_title)); define('_NAMESPACE_plural', $inflector->pluralise(_NAMESPACE_title)); */ $theme = 'essensus'; /** * Get data for stuff that every controller is going to otherwise have to gather, e.g. page nav */ /** $pages = new pages(); $pages_list = $pages->pages_list(); $html_elements = new html_elements; $forms = new forms(); $forms_views = new forms_views(); $social = new social(); $social_accounts = $social->accounts_list(); $pages = new pages(); $pages_parents['left'] = $pages->parents('left'); $pages_parents['right'] = $pages->parents('right'); $product_categories = new product_categories(); $product_categories_array = $product_categories->product_categories_array(1); **/ /** * Invoke controller */ if(!@include(_DOC_ROOT . '/core/controllers/' . _NAMESPACE . '/index.php')) { @include(_DOC_ROOT . '/core/controllers/404/index.php'); } ob_end_flush();