diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-27 09:32:20 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-09-27 09:32:20 +0200 |
commit | e9638b69801cee3e74a97825f9af3749c9322c53 (patch) | |
tree | 513fc95f31e86975fda302e40c2883f4e8f0cd44 /index.php | |
parent | 939449602a58838f81045c9a0e9a205c8fa9e6bd (diff) | |
download | volse-hubzilla-e9638b69801cee3e74a97825f9af3749c9322c53.tar.gz volse-hubzilla-e9638b69801cee3e74a97825f9af3749c9322c53.tar.bz2 volse-hubzilla-e9638b69801cee3e74a97825f9af3749c9322c53.zip |
Adds theme info file to define 'parent' theme from where load tpl files
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 */ |