Author: caefer
Date: 2010-04-06 21:15:27 +0200 (Tue, 06 Apr 2010)
New Revision: 29011
Modified:
plugins/sfImageTransformExtraPlugin/trunk/lib/cache/sfRawFileCache.class.php
Log:
bugfix: in removePattern symlinks will now be followed
Modified:
plugins/sfImageTransformExtraPlugin/trunk/lib/cache/sfRawFileCache.class.php
===================================================================
---
plugins/sfImageTransformExtraPlugin/trunk/lib/cache/sfRawFileCache.class.php
2010-04-06 19:11:23 UTC (rev 29010)
+++
plugins/sfImageTransformExtraPlugin/trunk/lib/cache/sfRawFileCache.class.php
2010-04-06 19:15:27 UTC (rev 29011)
@@ -101,7 +101,7 @@
if($pattern instanceof sfRoute)
{
$paths = array();
- foreach (new RecursiveIteratorIterator(new
RecursiveDirectoryIterator($this->getOption('cache_dir'))) as $path)
+ foreach (new RecursiveIteratorIterator(new
RecursiveDirectoryIterator($this->getOption('cache_dir'),
RecursiveDirectoryIterator::FOLLOW_SYMLINKS)) as $path)
{
if(false !==
$pattern->matchesUrl('/'.str_replace($this->getOption('cache_dir').DIRECTORY_SEPARATOR,
'', $path), array('method' => 'get')))
{
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.