Page MenuHomeDevCentral

D1165.diff
No OneTemporary

D1165.diff

diff --git a/includes/core.php b/includes/core.php
--- a/includes/core.php
+++ b/includes/core.php
@@ -275,7 +275,7 @@
global $Config;
//Gets relevant URL part from relevant $_SERVER variables
- if (array_key_exists('PATH_INFO', $_SERVER)) {
+ if (!empty($_SERVER['PATH_INFO'])) {
//Without mod_rewrite, and url like /index.php/controller
//we use PATH_INFO. It's the easiest case.
return $_SERVER["PATH_INFO"];

File Metadata

Mime Type
text/plain
Expires
Thu, Feb 27, 21:53 (20 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2447909
Default Alt Text
D1165.diff (458 B)

Event Timeline