On 2012-06-01 09:56, Amen Ankh wrote:
there is no posix access on windows systems for php and if so... they
should be disabled...

x:\root\dl-0.10.1\htdocs\include\confwrap.php
Line 17: if(!posix_access($cfgPath, POSIX_R_OK))

x:\root\dl-0.10.1\htdocs\include\init.php
Line 8: if(!posix_access($spoolDir,POSIX_R_OK | POSIX_W_OK))

as far as i understand you want to see if file
exists and is read/writeable right?

Yes (note that the first checks for the configuration file, the second for the spool directory).

whould it make sense to use
is_readable('config.php')
is_writable('config.php')
var_dump(is_dir('../includes'));

instead to bypass this Windows related bug??

Definitely. I will update DL to use is_* functions.

I'm wondering though if anybody else has experience with running DL under windows though. This is a setup that I never tested.



Reply via email to