aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-08 06:20:57 -0700
committerfriendica <info@friendica.com>2012-04-08 06:20:57 -0700
commit5c0446975516f2b52b6cf51618e0b75af56de71b (patch)
tree4d3cd849580d7ba3b8c30667bbb6f0901dc7d738 /index.php
parent741a5dba578444e5fea547a87c48824a69c39840 (diff)
downloadvolse-hubzilla-5c0446975516f2b52b6cf51618e0b75af56de71b.tar.gz
volse-hubzilla-5c0446975516f2b52b6cf51618e0b75af56de71b.tar.bz2
volse-hubzilla-5c0446975516f2b52b6cf51618e0b75af56de71b.zip
prepare for using a master theme_init()
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 69c224c1a..1cb16778a 100644
--- a/index.php
+++ b/index.php
@@ -262,6 +262,13 @@ if($a->module_loaded) {
$func = str_replace('-','_',current_theme()) . '_init';
$func($a);
}
+// elseif (x($a->theme_info,"extends") && file_exists("view/theme/".$a->theme_info["extends"]."/theme.php")) {
+// require_once("view/theme/".$a->theme_info["extends"]."/theme.php");
+// if(function_exists(str_replace('-','_',$a->theme_info["extends"]) . '_init')) {
+// $func = str_replace('-','_',$a->theme_info["extends"]) . '_init';
+// $func($a);
+// }
+// }
if(($_SERVER['REQUEST_METHOD'] === 'POST') && (! $a->error)
&& (function_exists($a->module . '_post'))