BM::singleton()->getObject('temp')->getPage()->setJs('static/js/jquery.widget.min.js'); BM::singleton()->getObject('temp')->getPage()->setJs('static/js/foundation.min.js'); BM::singleton()->getObject('temp')->getPage()->setJs('static/js/vendor/modernizr.js'); BM::singleton()->getObject('temp')->getPage()->setCss('static/css/jquery-ui.min.css'); BM::singleton()->getObject('temp')->getPage()->setCss('static/css/foundation.css'); BM::singleton()->getObject('temp')->getPage()->setCss('static/fonts/foundation-icons.css'); BM::singleton()->getObject('temp')->getPage()->setCss('common/plugins/sigma/grid/gt_grid.css'); BM::singleton()->getObject('temp')->getPage()->setCss('common/plugins/sigma/grid/skin/mac/skinstyle.css'); BM::singleton()->getObject('temp')->getPage()->setCss('common/plugins/sigma/grid/skin/vista/skinstyle.css'); BM::singleton()->getObject('temp')->getPage()->setJs('static/js/business.manager.1.0.js'); BM::singleton()->getObject('temp')->getPage()->setJs('common/plugins/sigma/grid/calendar/calendar.js'); BM::singleton()->getObject('temp')->getPage()->setJs('common/plugins/sigma/grid/calendar/calendar-setup.js'); BM::singleton()->getObject('temp')->getPage()->setJs('common/plugins/sigma/grid/gt_grid_all.js'); //BM::singleton()->getObject('temp')->getPage()->setJs('common/plugins/sigma/grid/gt_const.js'); BM::singleton()->getObject('temp')->getPage()->setJs('common/plugins/sigma/grid/gt_msg_en.js'); BM::singleton()->getObject('temp')->getPage()->setJs('common/plugins/sigma/grid/flashchart/fusioncharts/FusionCharts.js'); BM::singleton()->getObject('db')->newConnection(HOST, USER, PASSWORD, DATABASE); ##### fin de configuraciones ##### $front = new frontController(array()); # crear controlador 'front' $front->run(); # correr controlador 'front' exit(); ?>
<?php require_once __DIR__ . '/../config/bootstrap.php'; require_once 'frontController.php'; $frontController = new frontController(); $frontController->run();