Happy April Fools day!
What do you guys thing about this kinda thing:
333 if (false === @mkdir(dirname($cache), 0777, true))
334 {
335 $err = error_get_last();
336 throw new sfCacheException(sprintf('Failed to make cache
directory "%s" while generating cache for configuration file "%s" with
error %s.', dirname($cache), $config, $err['message']));
337 }
338 umask($current_umask);
The problem is...... php's error_get_last()['message'] returns ... HTML!
yay for PHP ;)
There's lots of places in the code where this kinda thing could be
implemented though... pretty much anywhere where we're using an @ sign.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---