12-04-2008, 02:28 AM
|
#4 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
Thank you. Although as Salathe pointed out (smug git!  ) the PHP manual should always be read first. I simply assumed that they'd not yet added the recursive mode, but it would appear they added it in PHP 5.0.0, and fixed the last bug with version 5.2.0.
Nonetheless, I still prefer the throwing of exceptions if PHP is unable to create the directory. That probably doesn't necessitate a rewrite, however.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|