X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/1ed6d72f061c2bc619f4e69cd0fa8f458a1e1206..refs/tags/v3.4:/page.php?ds=sidebyside diff --git a/page.php b/page.php index 50e098a..b160e45 100644 --- a/page.php +++ b/page.php @@ -31,11 +31,12 @@ function getoutput($blocks = []) } elseif (file_exists("$name.php")) { ob_start(); - $Page = $GLOBALS['Page']; - $Args = $GLOBALS['Args']; + $Page = $GLOBALS['Page'] . $GLOBALS['Args']; + $Args = ''; + $Place = $GLOBALS['Place']; foreach (explode(' ', $params) as $param) { if ($set = strpos($param, '=')) { - $_GET[ substr($param, 0, $set) ] = substr($param, $set + 1); + $Place[ substr($param, 0, $set) ] = substr($param, $set + 1); } elseif (!empty($param)) { $Args .= '/'.$param;