From 728a401631a9714b2dac9beea66aed46190d2c11 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 14 Apr 2010 03:50:41 +0000 Subject: [PATCH] MINOR fix typo (from r98980) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102819 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/SiteTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index 7fb455f69..929f14cf4 100755 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -1993,7 +1993,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid // NOTE: if you change the path here, you must also change it in sapphire/static-main.php if (self::$write_homepage_map) { - if ($usingStaticPublishing && $map = self::generate_homemage_domain_map()) { + if ($usingStaticPublishing && $map = SiteTree::generate_homepage_domain_map()) { @file_put_contents(BASE_PATH.'/'.ASSETS_DIR.'/_homepage-map.php', ""); } else { if (file_exists(BASE_PATH.'/'.ASSETS_DIR.'/_homepage-map.php')) unlink(BASE_PATH.'/'.ASSETS_DIR.'/_homepage-map.php'); } }