From 4fff60650aabecf4f5868f378a508259255a6e4a Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Mon, 3 Aug 2009 06:13:37 +0000 Subject: [PATCH] BUGFIX Fixed FilesystemPublisher::__construct() not calling parent::__construct() and breaking DataObjectDecorator::load_extra_statics() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@83579 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/staticpublisher/FilesystemPublisher.php | 1 + 1 file changed, 1 insertion(+) diff --git a/code/staticpublisher/FilesystemPublisher.php b/code/staticpublisher/FilesystemPublisher.php index 1a133226..c0f684c4 100644 --- a/code/staticpublisher/FilesystemPublisher.php +++ b/code/staticpublisher/FilesystemPublisher.php @@ -26,6 +26,7 @@ class FilesystemPublisher extends StaticPublisher { if(substr($destFolder, -1) == '/') $destFolder = substr($destFolder, 0, -1); $this->destFolder = $destFolder; $this->fileExtension = $fileExtension; + parent::__construct(); } function publishPages($urls) {