Page MenuHomeDevCentral

D715.diff
No OneTemporary

D715.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
Fri, Dec 20, 22:30 (10 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2307314
Default Alt Text
D715.diff (760 B)

Event Timeline