diff options
author | friendica <info@friendica.com> | 2012-04-10 01:51:53 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-10 01:51:53 -0700 |
commit | 4c3b835307c072cbdf3b68857c34fc22a58872c6 (patch) | |
tree | d932b7f36969d34f398972b527528e035d38c30f | |
parent | 9a8c69b024745bdabd8a83bc0e65951a82722127 (diff) | |
download | volse-hubzilla-4c3b835307c072cbdf3b68857c34fc22a58872c6.tar.gz volse-hubzilla-4c3b835307c072cbdf3b68857c34fc22a58872c6.tar.bz2 volse-hubzilla-4c3b835307c072cbdf3b68857c34fc22a58872c6.zip |
path to default.php in theme dir was incorrect
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -360,13 +360,13 @@ $profile = $a->profile; header("Content-type: text/html; charset=utf-8"); -$template = 'view/' . current_theme() . '/' +$template = 'view/theme/' . current_theme() . '/' . ((x($a->page,'template')) ? $a->page['template'] : 'default' ) . '.php'; if(file_exists($template)) require_once($template); else - require_once(str_replace(current_theme() . '/', '', $template)); + require_once(str_replace('theme/' . current_theme() . '/', '', $template)); session_write_close(); exit; |