From 52a587a2364f01688906fd541587e9b4bc7cfdac Mon Sep 17 00:00:00 2001 From: rboren Date: Wed, 15 Sep 2004 07:37:43 +0000 Subject: [PATCH] Check for index.php instead of blogfilename. git-svn-id: http://svn.automattic.com/wordpress/trunk@1662 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-blog-header.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-blog-header.php b/wp-blog-header.php index daafdf1334..f2d2f8e98c 100644 --- a/wp-blog-header.php +++ b/wp-blog-header.php @@ -200,7 +200,7 @@ if (! empty($wp_template)) { } // Template redirection -if ($pagenow == get_settings('blogfilename')) { +if ($pagenow == 'index.php') { if (! isset($wp_did_template_redirect)) { if (is_home() && file_exists(ABSPATH . "wp-content/${wp_template}index.php")) {