Changeset 2997
- Timestamp:
- 07/08/2008 04:29:13 AM (5 months ago)
- Files:
-
- 1 modified
-
trunk/system/helpers/file.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/helpers/file.php
r2996 r2997 42 42 $extension = pathinfo($filename, PATHINFO_EXTENSION); 43 43 44 if (preg_match('/^ jpe?g|png|[gt]if|bmp|swf$/', $extension))44 if (preg_match('/^(?:jpe?g|png|[gt]if|bmp|swf)$/', $extension)) 45 45 { 46 46 // Disable error reporting
