fix bug in lib base

This commit is contained in:
Georg Ehrke 2012-04-23 20:11:21 +02:00
parent d1110c62ef
commit 19109afa79
1 changed files with 3 additions and 1 deletions

View File

@ -406,7 +406,9 @@ class OC{
if(substr_count(self::$REQUESTEDFILE, '?') != 0){
$file = substr(self::$REQUESTEDFILE, 0, strpos(self::$REQUESTEDFILE, '?'));
$param = substr(self::$REQUESTEDFILE, strpos(self::$REQUESTEDFILE, '?') + 1);
parse_str($param, $_GET);
echo $param;
parse_str($param, $get);
$_GET = array_merge($_GET, $get);
self::$REQUESTEDFILE = $file;
$_GET['getfile'] = $file;
}