diff options
-rw-r--r-- | engine/lib/pagehandler.php | 8 | ||||
-rw-r--r-- | version.php | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/engine/lib/pagehandler.php b/engine/lib/pagehandler.php index b993469d8..23594c5c7 100644 --- a/engine/lib/pagehandler.php +++ b/engine/lib/pagehandler.php @@ -24,15 +24,15 @@ set_context($handler);
- $query = parse_url($_SERVER['REQUEST_URI']);
- if (isset($query['query'])) {
- parse_str($query['query'], $query_arr);
+ $query = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], '?')+1);//parse_url($_SERVER['REQUEST_URI']);
+ if (isset($query)) {
+ parse_str($query, $query_arr);
if (is_array($query_arr)) {
foreach($query_arr as $name => $val) {
set_input($name, $val);
}
}
- }
+ }
$page = explode('/',$page);
if (!isset($CONFIG->pagehandler) || empty($handler)) {
diff --git a/version.php b/version.php index d77a46967..85b93c9de 100644 --- a/version.php +++ b/version.php @@ -13,7 +13,7 @@ * @link http://elgg.org/
*/
- $version = 2009070601; // YYYYMMDD = Elgg Date + $version = 2009070801; // YYYYMMDD = Elgg Date // XX = Interim incrementer
$release = '1.5'; // Human-friendly version name
|