From 4c3b835307c072cbdf3b68857c34fc22a58872c6 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 10 Apr 2012 01:51:53 -0700 Subject: [PATCH] path to default.php in theme dir was incorrect --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 1cb16778a6..f0ed00232e 100644 --- a/index.php +++ b/index.php @@ -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;