mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR fix typo (from r98980)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102819 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
45c5163c18
commit
728a401631
@ -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', "<?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'); }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user