mirror of
https://github.com/Intervention/image.git
synced 2025-08-12 08:54:03 +02:00
Merge pull request #127 from adamfeuer/allow-image-filenames-to-contain-slashes
filenames can now contain slashes - this allows the use of subdirectories to store images
This commit is contained in:
@@ -95,7 +95,7 @@ class ImageServiceProvider extends ServiceProvider
|
||||
'Etag' => md5($content)
|
||||
));
|
||||
|
||||
}))->where(array('template' => join('|', array_keys($config['templates'])), 'filename' => '^[\w.-]+$'));
|
||||
}))->where(array('template' => join('|', array_keys($config['templates'])), 'filename' => '^[\/\w.-]+$'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user