mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR fix typo
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98980 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9b7d030eda
commit
d2f05399e0
@ -1959,7 +1959,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