1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

getUrl now supports query string

This commit is contained in:
secretr
2008-12-02 13:50:17 +00:00
parent 8cb32d9402
commit 0ba775c2f6

View File

@@ -9,8 +9,8 @@
* URL Handler * URL Handler
* *
* $Source: /cvs_backup/e107_0.8/e107_handlers/e107Url.php,v $ * $Source: /cvs_backup/e107_0.8/e107_handlers/e107Url.php,v $
* $Revision: 1.9 $ * $Revision: 1.10 $
* $Date: 2008-12-02 01:20:36 $ * $Date: 2008-12-02 13:50:17 $
* $Author: secretr $ * $Author: secretr $
*/ */
@@ -31,7 +31,8 @@ class eURL
{ {
if (!is_array($urlItems)) if (!is_array($urlItems))
{ {
$urlItems = array($urlItems => 1); //strange looking... well, I like it
parse_str($urlItems, $urlItems);
} }
$handlerId = $section . '/' . $urlType; $handlerId = $section . '/' . $urlType;