aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-09-27 09:32:20 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-09-27 09:32:20 +0200
commite9638b69801cee3e74a97825f9af3749c9322c53 (patch)
tree513fc95f31e86975fda302e40c2883f4e8f0cd44 /index.php
parent939449602a58838f81045c9a0e9a205c8fa9e6bd (diff)
downloadvolse-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.php7
1 files changed, 7 insertions, 0 deletions
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 */