Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3915813
D715.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
760 B
Referenced Files
None
Subscribers
None
D715.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D715: Fix 404 issues on nginx
Attached
Detach File
Event Timeline
Log In to Comment