note 57051 deleted from function.rmdir by aidan
| From: | aidan@php.net | Date: | Wed, 15 Apr 2009 04:28:32 +0000 |
| Subject: | note 57051 deleted from function.rmdir by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-153271@lists.php.net to get a copy of this message | ||
Note Submitter: lodemessemaker at hotmail dot com
----
In reaction to the function rmdirr() by makarenkoa at ukrpost dot net:
If verbose is set to TRUE, it will only work in the first (target) directory, and not in
subdirectories. To make the function verbose in subdirectories as well, change the following:
<?php
...
if(is_dir($object))
rmdirr($object);
...
?>
TO
<?php
...
if(is_dir($object))
rmdirr($object,$verbose);
?>