1
0
mirror of synced 2024-12-13 14:56:01 +03:00

General fix for end point as file extension on Annotation driver.

This commit is contained in:
Guilherme Blanco 2011-07-08 16:26:54 -03:00
parent 438dd9141f
commit b6bd46dbed

View File

@ -499,7 +499,7 @@ class AnnotationDriver implements Driver
new \RecursiveDirectoryIterator($path, \FilesystemIterator::SKIP_DOTS),
\RecursiveIteratorIterator::LEAVES_ONLY
),
'/^.+\\' . $this->_fileExtension . '$/i',
'/^.+' . str_replace('.', '\.', $this->_fileExtension) . '$/i',
\RecursiveRegexIterator::GET_MATCH
);