Page MenuHomeDevCentral

D715.id1798.diff
No OneTemporary

D715.id1798.diff

diff --git a/includes/document.php b/includes/document.php
--- a/includes/document.php
+++ b/includes/document.php
@@ -128,18 +128,6 @@
return true;
}
- //Fixes common problems
- if (!string_starts_with($_SERVER["REQUEST_URI"], $_SERVER["DOCUMENT_URI"])) {
- // Webserver hasn't been configured to send directly the query to
- // $_SERVER["DOCUMENT_URI"]. This is the engine job instead.
- $file = substr($_SERVER["DOCUMENT_URI"], 1); //Drops initial /
- if ($file == self::get_entry_point_url()) return false;
- if (file_exists($file)) {
- $this->url = $file;
- return true;
- }
- }
-
return false;
}

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 30, 08:15 (21 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2163858
Default Alt Text
D715.id1798.diff (760 B)

Event Timeline