cacheAllSystemVars(); $app->addCSS('site/css/main.css'); $app->addCSS('site/css/generic.css'); $app->addCSS('site/css/assets.css'); $app->addCSS('site/css/font/fonts.css'); $app->addJS('site/js/util.js'); $app->addJS('site/js/easyPhoto.js'); $app->addJS('site/js/modal.js'); $app->addJS(getRelativePath('auxteam/core/js/auxteam.validation.js')); $app->addJS(getRelativePath('auxteam/core/js/jquery.metadata.js')); $app->addJS(getRelativePath('auxteam/core/js/jquery.mask.js')); $app->registerDefaultDocument('home','modules/home/HomeDocument.site'); $app->registerDocument('noticia','modules/noticia/NoticiaDocument.site'); $app->registerDocument('noticias','modules/noticias/NoticiasDocument.site'); $app->registerDocument('produtos','modules/produtos/ProdutosDocument.site'); $app->registerDocument('empresa','modules/empresa/EmpresaDocument.site'); $app->registerDocument('contato','modules/contato/ContatoDocument.site'); $template = new Template(); $app->setTemplate($template); $app->setTitle($app->config->params->title.' '); $app->initGoByURL(); echo $app->render(); ?>