From 605ab5c6c188aafa29d1ce81d61fffc23fb3304e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 3 Sep 2014 16:41:47 +0200 Subject: Add CONFIG_FOOTER option; if set, it will be appended to the bottom of the page, via templates/footer.html --- index.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index e3d220fc..3b1effa6 100644 --- a/index.php +++ b/index.php @@ -139,5 +139,9 @@ if (defined('CONFIG_DEBUG') && CONFIG_DEBUG) { Render::closeTag('div'); } +if (defined('CONFIG_FOOTER')) { + Render::addTemplate('footer', array('text' => CONFIG_FOOTER)); +} + // Send page to client. Render::output(); -- cgit v1.2.3-55-g7522