directory_map() not working outside of application

Posted by iamdadude on Stack Overflow See other posts from Stack Overflow or by iamdadude
Published on 2010-05-20T05:26:13Z Indexed on 2010/05/20 5:30 UTC
Read the original article Hit count: 163

Filed under:
|

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!

© Stack Overflow or respective owner

Related posts about php

Related posts about codeigniter