Page MenuHomeDevCentral

D1165.id2980.diff
No OneTemporary

D1165.id2980.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, 07:02 (9 h, 9 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2613564
Default Alt Text
D1165.id2980.diff (458 B)

Event Timeline