From e9638b69801cee3e74a97825f9af3749c9322c53 Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Tue, 27 Sep 2011 09:32:20 +0200 Subject: Adds theme info file to define 'parent' theme from where load tpl files --- index.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 98733c4c8..25fdb4f8c 100644 --- a/index.php +++ b/index.php @@ -218,6 +218,13 @@ if(strlen($a->module)) { } } +/** + * load current theme info + */ +$theme_info_file = "view/theme/".current_theme()."/theme.php"; +if (file_exists($theme_info_file)){ + require_once($theme_info_file); +} /* initialise content region */ -- cgit v1.2.3