1
0
mirror of https://github.com/mosbth/cimage.git synced 2025-08-30 10:59:51 +02:00

Adding configuration item to set what valid characters are for the image

filename.
This commit is contained in:
Mikael Roos
2014-11-21 19:32:05 +01:00
parent 20a4f848b7
commit 26449a3236
3 changed files with 10 additions and 2 deletions

View File

@@ -17,6 +17,13 @@ return array(
/**
* Check image filename that it only contain valid characters.
*/
'valid_filename' => '#^[a-z0-9A-Z-/_\.]+$#',
/**
* Set default timezone, it defaults to UTC if not specified otherwise.
*