فهرست منبع

data_dir doesn't need to be readable. It has to executable, but that's
not cleanly testable in PHP so it seems..

Thijs Kinkhorst 20 سال پیش
والد
کامیت
a570b74e5b
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 1 3
      src/configtest.php

+ 1 - 3
src/configtest.php

@@ -122,9 +122,7 @@ if(!file_exists($data_dir)) {
 if(!is_dir($data_dir)) {
     do_err("Data dir ($data_dir) is not a directory!");
 }
-if(!is_readable($data_dir)) {
-    do_err("I cannot read from data dir ($data_dir)!");
-}
+// datadir should be executable - but no clean way to test on that
 if(!is_writable($data_dir)) {
     do_err("I cannot write to data dir ($data_dir)!");
 }