src/Http/Request.php
/**
	 * Extracts arguments from the REQUEST_URI into the GET global.
	 */
Extracts arguments from the REQUEST_URI into the GET global.
Extracts arguments from the REQUEST_URI into the GET global .
private static function injectQueryArgs() {
		if (Application::routing() === 'router') {
			$uri = $_SERVER['REQUEST_URI'];
			if (strpos($uri, '?') !== false) {
				list($path, $query) = explode('?', $uri, 2);
				parse_str($query, $output);
				foreach ($output as $key => $value) {
					$_GET[$key] = $value;
				}
			}
		}
	}
private static function injectQueryArgs ( ) { if ( Application :: routing ( ) === 'router' ) { $ uri = $ _SERVER [ 'REQUEST_URI' ] ; if ( strpos ( $ uri , '?' ) !== false ) { list ( $ path , $ query ) = explode ( '?' , $ uri , 2 ) ; parse_str ( $ query , $ output ) ; foreach ( $ output as $ key => $ value ) { $ _GET [ $ key ] = $ value ; } } } }
Extracts arguments from the REQUEST_URI into the GET global.
Extracts arguments from the REQUEST_URI into the GET global .