mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
mujma: ENHANCEMENTS: Folder _tmp has been added to list of ignored folders.Change depends on r38765 in cms branch. (merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41721 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
1ad4769c5f
commit
1eea62a361
@ -106,6 +106,7 @@ class Folder extends File {
|
|||||||
if($actualChild[0] == '.') continue; // ignore hidden files
|
if($actualChild[0] == '.') continue; // ignore hidden files
|
||||||
if(substr($actualChild,0,6) == 'Thumbs') continue; // ignore windows cache stuff
|
if(substr($actualChild,0,6) == 'Thumbs') continue; // ignore windows cache stuff
|
||||||
if($actualChild == '_resampled') continue; // ignore the resampled copies of images
|
if($actualChild == '_resampled') continue; // ignore the resampled copies of images
|
||||||
|
if($actualChild == '_tmp') continue; // ignore tmp folder for PhotoEditor.
|
||||||
|
|
||||||
|
|
||||||
// A record with a bad class type doesn't deserve to exist. It must be purged!
|
// A record with a bad class type doesn't deserve to exist. It must be purged!
|
||||||
|
Loading…
Reference in New Issue
Block a user