diff InputParser.inc @ 130:ee5f98a0bc93

Retrieve documents from DOCUMENT_ROOT, not SCRIPT_ROOT
author Tom Fredrik Blenning <bfg@bfgconsult.no>
date Fri, 13 Jan 2023 18:08:45 +0100
parents 7858ceb293d1
children
line wrap: on
line diff
--- a/InputParser.inc	Wed Dec 28 11:20:19 2022 +0100
+++ b/InputParser.inc	Fri Jan 13 18:08:45 2023 +0100
@@ -31,7 +31,7 @@
     $this->options = new Options($this->master);
     $this->options->setCache($cache);
     $base=basePath();
-    $base=$_SERVER['CONTEXT_DOCUMENT_ROOT'];
+    $base=$_SERVER['DOCUMENT_ROOT'];
     $this->options->setBasePath($base);
     $this->options->setCacheable(true);