Page MenuHomeDevCentral

D1165.id2975.diff
No OneTemporary

D1165.id2975.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
Wed, Apr 30, 13:04 (16 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2613564
Default Alt Text
D1165.id2975.diff (458 B)

Event Timeline