From 82a3acc928c803b1464f38a8a27a5cac570d3534 Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Mon, 17 Feb 2014 09:59:50 +0700 Subject: [PATCH] Prepare for release Prepare for releasing v1.6 --- system/includes/functions.php | 5 +---- themes/clean/layout.html.php | 4 ++-- themes/default/layout.html.php | 4 ++-- themes/logs/layout.html.php | 4 ++-- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/system/includes/functions.php b/system/includes/functions.php index 38f02cf..28bd13f 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -1383,10 +1383,7 @@ function is_front() { // TRUE if the current page is an index page like frontpage, tag index, archive index and search index. function is_index() { $req = $_SERVER['REQUEST_URI']; - if(strpos($req, '/archive/') !== false || strpos($req, '/tag/') !== false || strpos($req, '/search/') !== false){ - return true; - } - elseif($req == site_path() . '/') { + if(strpos($req, '/archive/') !== false || strpos($req, '/tag/') !== false || strpos($req, '/search/') !== false || $req == site_path() . '/'){ return true; } else { diff --git a/themes/clean/layout.html.php b/themes/clean/layout.html.php index 072c80d..6ee96d7 100644 --- a/themes/clean/layout.html.php +++ b/themes/clean/layout.html.php @@ -18,9 +18,9 @@