diff options
author | friendica <info@friendica.com> | 2012-04-08 05:52:00 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-08 05:52:00 -0700 |
commit | 741a5dba578444e5fea547a87c48824a69c39840 (patch) | |
tree | a57d949d9a11a4960b6ab8e2c607ec189a332674 /index.php | |
parent | 3afc9915e35ba8a8f34dd3cc2dfb5b6e79844122 (diff) | |
download | volse-hubzilla-741a5dba578444e5fea547a87c48824a69c39840.tar.gz volse-hubzilla-741a5dba578444e5fea547a87c48824a69c39840.tar.bz2 volse-hubzilla-741a5dba578444e5fea547a87c48824a69c39840.zip |
provide theme_init() functions
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -258,6 +258,11 @@ if($a->module_loaded) { $func($a); } + if(function_exists(str_replace('-','_',current_theme()) . '_init')) { + $func = str_replace('-','_',current_theme()) . '_init'; + $func($a); + } + if(($_SERVER['REQUEST_METHOD'] === 'POST') && (! $a->error) && (function_exists($a->module . '_post')) && (! x($_POST,'auth-params'))) { |