From d9f0585f231645a5f56245c97ef76424640a9c2e Mon Sep 17 00:00:00 2001 From: Stephen Shkardoon Date: Mon, 20 Apr 2015 20:59:48 +1200 Subject: [PATCH] Temporary fix attempt for #36 --- code/model/FilesystemPublisher.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/model/FilesystemPublisher.php b/code/model/FilesystemPublisher.php index cac0f5d0..a820e646 100644 --- a/code/model/FilesystemPublisher.php +++ b/code/model/FilesystemPublisher.php @@ -198,8 +198,9 @@ public function publishPages($urls) { Config::inst()->update('Director', 'alternate_base_url', $staticBaseUrl); } + // Disable due to https://github.com/silverstripe-labs/silverstripe-staticpublishqueue/issues/36 if($this->fileExtension == 'php') { - Config::inst()->update('SSViewer', 'rewrite_hash_links', 'php'); + //Config::inst()->update('SSViewer', 'rewrite_hash_links', 'php'); } if(Config::inst()->get('FilesystemPublisher', 'echo_progress')) { @@ -348,8 +349,9 @@ public function publishPages($urls) { Config::inst()->update('Director', 'alternate_base_url', $currentBaseURL); } + // Disabled due to https://github.com/silverstripe-labs/silverstripe-staticpublishqueue/issues/36 if($this->fileExtension == 'php') { - Config::inst()->update('SSViewer', 'rewrite_hash_links', true); + //Config::inst()->update('SSViewer', 'rewrite_hash_links', true); } $base = BASE_PATH . "/$this->destFolder";