MINOR make static caching smarter around cacheSubdirs

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99076 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Tom Rix 2010-02-16 02:12:07 +00:00 committed by Sam Minnee
parent 554ea629dc
commit 801161369e

View File

@ -96,7 +96,7 @@ class FilesystemPublisher extends StaticPublisher {
$currentBaseURL = Director::baseURL();
if(self::$static_base_url) Director::setBaseURL(self::$static_base_url);
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();
$i = 0;
$totalURLs = sizeof($urls);