Skip to content
Browse files

MINOR fix typo (from r98980)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102819 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 45c5163 commit 728a401631a9714b2dac9beea66aed46190d2c11 @chillu chillu committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/model/SiteTree.php
View
2 core/model/SiteTree.php
@@ -1993,7 +1993,7 @@ function doPublish() {
// 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', "<?php\n\$homepageMap = ".var_export($map, true)."; ?>");
} else { if (file_exists(BASE_PATH.'/'.ASSETS_DIR.'/_homepage-map.php')) unlink(BASE_PATH.'/'.ASSETS_DIR.'/_homepage-map.php'); }
}

0 comments on commit 728a401

Please sign in to comment.
Something went wrong with that request. Please try again.