From 7f796c6dccd089cff2ae9de73633769cc8f3b58d 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 d8cec17f..8a328c43 100644 --- a/code/model/FilesystemPublisher.php +++ b/code/model/FilesystemPublisher.php @@ -195,7 +195,8 @@ public function publishPages($urls) { $staticBaseUrl = Config::inst()->get('FilesystemPublisher', 'static_base_url'); if($this->fileExtension == 'php') { - Config::inst()->update('SSViewer', 'rewrite_hash_links', 'php'); + // Disable due to https://github.com/silverstripe-labs/silverstripe-staticpublishqueue/issues/36 + //Config::inst()->update('SSViewer', 'rewrite_hash_links', 'php'); } if(Config::inst()->get('FilesystemPublisher', 'echo_progress')) { @@ -348,7 +349,8 @@ public function publishPages($urls) { } if($this->fileExtension == 'php') { - Config::inst()->update('SSViewer', 'rewrite_hash_links', true); + // Disable due to https://github.com/silverstripe-labs/silverstripe-staticpublishqueue/issues/36 + //Config::inst()->update('SSViewer', 'rewrite_hash_links', true); } $base = BASE_PATH . "/$this->destFolder";