Stop recursive stop recursive stop recursive... Hat tip: Dougal

git-svn-id: http://svn.automattic.com/wordpress/trunk@1566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt
2004-08-27 00:38:22 +00:00
parent b763f6ca7d
commit 9fda8f6ca6
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
// If a footer.php file exists in the WP root directory we // If a footer.php file exists in the WP root directory we
// use that, otherwise use this default wp-footer.php file. // use that, otherwise use this default wp-footer.php file.
if ( file_exists(ABSPATH . '/footer.php') ) : if ( file_exists(ABSPATH . '/footer.php') ) :
include(ABSPATH . '/footer.php'); include_once(ABSPATH . '/footer.php');
else : else :
?> ?>
</div> </div>

View File

@@ -2,7 +2,7 @@
// If a header.php file exists in the WP root directory we // If a header.php file exists in the WP root directory we
// use that, otherwise use this default wp-header.php file. // use that, otherwise use this default wp-header.php file.
if ( file_exists(ABSPATH . '/header.php') ) : if ( file_exists(ABSPATH . '/header.php') ) :
include(ABSPATH . '/header.php'); include_once(ABSPATH . '/header.php');
else : else :
?> ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">