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:
@@ -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>
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user