This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ErrorDocument 404 /assets/error-404.html | |
ErrorDocument 500 /assets/error-500.html | |
<Files *.ss> | |
Order deny,allow | |
Deny from all | |
Allow from 127.0.0.1 | |
</Files> | |
<Files web.config> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Return children from the stage site | |
* | |
* @param showAll Inlcude all of the elements, even those not shown in the menus. | |
* (only applicable when extension is applied to {@link SiteTree}). | |
* @return SS_List | |
*/ | |
public function stageChildren($showAll = false) { | |
$baseClass = ClassInfo::baseDataClass($this->owner->class); |