mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR make static caching smarter around cacheSubdirs (from r99076)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@106127 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
af5be7831c
commit
90ff55870c
@ -96,7 +96,7 @@ class FilesystemPublisher extends StaticPublisher {
|
|||||||
$currentBaseURL = Director::baseURL();
|
$currentBaseURL = Director::baseURL();
|
||||||
if(self::$static_base_url) Director::setBaseURL(self::$static_base_url);
|
if(self::$static_base_url) Director::setBaseURL(self::$static_base_url);
|
||||||
if($this->fileExtension == 'php') SSViewer::setOption('rewriteHashlinks', 'php');
|
if($this->fileExtension == 'php') SSViewer::setOption('rewriteHashlinks', 'php');
|
||||||
if(StaticPublisher::echo_progress()) echo "Publishing to " . self::$static_base_url . "\n";
|
if(StaticPublisher::echo_progress()) echo $this->class.": Publishing to " . self::$static_base_url . "\n";
|
||||||
$files = array();
|
$files = array();
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$totalURLs = sizeof($urls);
|
$totalURLs = sizeof($urls);
|
||||||
|
Loading…
Reference in New Issue
Block a user