aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-10 01:51:53 -0700
committerfriendica <info@friendica.com>2012-04-10 01:51:53 -0700
commit4c3b835307c072cbdf3b68857c34fc22a58872c6 (patch)
treed932b7f36969d34f398972b527528e035d38c30f /index.php
parent9a8c69b024745bdabd8a83bc0e65951a82722127 (diff)
downloadvolse-hubzilla-4c3b835307c072cbdf3b68857c34fc22a58872c6.tar.gz
volse-hubzilla-4c3b835307c072cbdf3b68857c34fc22a58872c6.tar.bz2
volse-hubzilla-4c3b835307c072cbdf3b68857c34fc22a58872c6.zip
path to default.php in theme dir was incorrect
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 1cb16778a..f0ed00232 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;