]> git.mxchange.org Git - friendica.git/blobdiff - index.php
Adds theme info file to define 'parent' theme from where load tpl files
[friendica.git] / index.php
index 98733c4c8256c7ddbbbfcffac237889892af338d..25fdb4f8c302c268a405c77658e0dc5e95b64f64 100644 (file)
--- 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 */