aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-04-10 05:03:32 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-04-10 05:03:32 -0400
commit514780745f4e2a66fd610d835b16c9b065c52355 (patch)
treed932b7f36969d34f398972b527528e035d38c30f
parent61c28e8c2ee5c80c162e0ea7b8fec10e26790641 (diff)
parent4c3b835307c072cbdf3b68857c34fc22a58872c6 (diff)
downloadvolse-hubzilla-514780745f4e2a66fd610d835b16c9b065c52355.tar.gz
volse-hubzilla-514780745f4e2a66fd610d835b16c9b065c52355.tar.bz2
volse-hubzilla-514780745f4e2a66fd610d835b16c9b065c52355.zip
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: path to default.php in theme dir was incorrect * master:
-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;