add note about PHP bug that causes invalid open_basedir warnings
Hanno Böck

Hanno Böck commited on 2020-02-02 13:29:17
Zeige 1 geänderte Dateien mit 2 Einfügungen und 0 Löschungen.

... ...
@@ -38,6 +38,8 @@ if (substr($go, strlen($go) - 4) == '.php') {
38 38
 
39 39
 DEBUG($go);
40 40
 
41
+// Can throw invalid open_basedir warnings,
42
+// see https://bugs.php.net/52065
41 43
 if (strstr($go, "..") or strstr($go, "./") or strstr($go, ":") or (! file_exists("modules/$go.php")) or (! is_file("modules/$go.php"))) {
42 44
     die("illegal command");
43 45
 }
44 46