<?php if (!ini_get('display_errors')) { ini_set('display_errors', '1'); } date_default_timezone_set('Europe/Paris'); require '../core/autoload.php'; $app = new core\FrontendApplication(); $app->render();
protected function _emulateController($module, $action = 'index') { $app = new \core\FrontendApplication(); $emulatedController = $app->buildController($module, $action); return $emulatedController; }