directory_map() not working outside of application
- by iamdadude
Is there a reason as to why
$map = directory_map('./', TRUE);
works perfectly and,
$map = directory_map('../', TRUE);
doesn’t work at all? I tried creating a directory with the basic mkdir(); PHP function (http://php.net/mkdir) and it didn’t work either. Can anyone set me in the right direction as to what I’m doing wrong and how I can fix it?
Thanks!