A super easy PHP Framework for web development!
https://github.com/exacti/phacil-framework
15 lines
370 B
15 lines
370 B
6 years ago
|
<?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();
|
||
|
|
||
|
}
|
||
|
}
|