Hi,

I'm using the current sandbox on openSUSE 11.1 with PHP 5.3.3 and get
an error when using YAML or Annotation metadata drivers for doctrine
2. This is because glob() returns 'false' in
http://github.com/symfony/symfony-sandbox/blob/PR3/src/vendor/symfony/src/Symfony/Bundle/DoctrineBundle/DependencyInjection/DoctrineExtension.php
on lines 490 (+ 492) (as described here: 
http://www.php.net/manual/en/function.glob.php
-> "On some systems it is impossible to distinguish between empty
match and an error.") and therefore count() returns '1', resulting
that detectMetadataDriver() returns 'xml' even if there are no XML
metadata files.

For now I removed the count() because an empty array and false trigger
the same behaviour in the if() clause.

Just wanted to report that...

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to