]> git.mxchange.org Git - friendica.git/blobdiff - index.php
diabook-themes: small fix
[friendica.git] / index.php
index 933952341040f56a5f88f44880d1cab0ad487771..5dd93523e3a78dd86e99a7df6ba1165f44aedebd 100644 (file)
--- a/index.php
+++ b/index.php
@@ -359,13 +359,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;