Your ROOT_URL in app.ini is https://code.exacti.com.br/ but you are visiting https://git.exacti.com.br/ExacTI/phacil-framework/src/commit/dfb581d21a0185b166af631a4365152e38477f42/controller/common/footer.php You should set ROOT_URL correctly, otherwise the web may not work correctly.
A super easy PHP Framework for web development! https://github.com/exacti/phacil-framework

14 lines
370 B

<?php
class ControllerCommonFooter extends Controller {
protected function index() {
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/common/footer.twig')) {
$this->template = $this->config->get('config_template') . '/common/footer.twig';
} else {
$this->template = 'default/common/footer.twig';
}
$this->render();
}
}