From 16aae77ab41dbaa7c5f2171cf61ccacadad2a35d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20K?= Date: Tue, 15 Sep 2015 18:27:21 +0200 Subject: [PATCH] Fix all includes in theme --- themes/pure/index.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/pure/index.php b/themes/pure/index.php index d8b93753..4e6fcb30 100644 --- a/themes/pure/index.php +++ b/themes/pure/index.php @@ -3,7 +3,7 @@ - + @@ -16,7 +16,7 @@ @@ -26,15 +26,15 @@ whereAmI()=='home') || ($Url->whereAmI()=='tag') ) { - include('php/home.php'); + include(dirname(__FILE__).'/php/home.php'); } elseif($Url->whereAmI()=='post') { - include('php/post.php'); + include(dirname(__FILE__).'/php/post.php'); } elseif($Url->whereAmI()=='page') { - include('php/page.php'); + include(dirname(__FILE__).'/php/page.php'); } ?>