note 77839 rejected from function.is-dir by nlopess
| From: | nlopess@php.net | Date: | Sat, 15 Sep 2007 19:09:09 +0000 |
| Subject: | note 77839 rejected from function.is-dir by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-130522@lists.php.net to get a copy of this message | ||
Note Submitter: smp_info at yahoo dot com
----
Yeah, is_dir() returns false when using relative paths, in my experience.
if (!is_file($dirName)) { /***/ } was a suitable workaround for me, but may not be in some cases.
Hope this gets fixed soon.