From 9fda8f6ca67a50ece6e44bc430efd82b2b4d7ca1 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Fri, 27 Aug 2004 00:38:22 +0000 Subject: [PATCH] Stop recursive stop recursive stop recursive... Hat tip: Dougal git-svn-id: http://svn.automattic.com/wordpress/trunk@1566 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-footer.php | 2 +- wp-header.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-footer.php b/wp-footer.php index 1e12ed1674..df5790f99a 100644 --- a/wp-footer.php +++ b/wp-footer.php @@ -2,7 +2,7 @@ // If a footer.php file exists in the WP root directory we // use that, otherwise use this default wp-footer.php file. if ( file_exists(ABSPATH . '/footer.php') ) : - include(ABSPATH . '/footer.php'); + include_once(ABSPATH . '/footer.php'); else : ?> diff --git a/wp-header.php b/wp-header.php index a7ed29cb67..1209cd3b41 100644 --- a/wp-header.php +++ b/wp-header.php @@ -2,7 +2,7 @@ // If a header.php file exists in the WP root directory we // use that, otherwise use this default wp-header.php file. if ( file_exists(ABSPATH . '/header.php') ) : - include(ABSPATH . '/header.php'); + include_once(ABSPATH . '/header.php'); else : ?>