1
0
Fork 0
mirror of synced 2025-04-03 13:23:37 +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), new \RecursiveDirectoryIterator($path, \FilesystemIterator::SKIP_DOTS),
\RecursiveIteratorIterator::LEAVES_ONLY \RecursiveIteratorIterator::LEAVES_ONLY
), ),
'/^.+\\' . $this->_fileExtension . '$/i', '/^.+' . str_replace('.', '\.', $this->_fileExtension) . '$/i',
\RecursiveRegexIterator::GET_MATCH \RecursiveRegexIterator::GET_MATCH
); );