Skip to content

Instantly share code, notes, and snippets.

@kiall
Created February 20, 2012 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kiall/1870544 to your computer and use it in GitHub Desktop.
Save kiall/1870544 to your computer and use it in GitHub Desktop.
Kohana/Response.php: if (Request::$initial->secure())
Kohana/URL.php: $protocol = Request::$initial;
Kohana/Request/Client/Internal.php: if ($request !== Request::$initial AND Request::$current)
Kohana/Request/Client/Internal.php: $initial_request = ($request === Request::$initial);
Kohana/Request/Client/External.php: if ($request !== Request::$initial AND Request::$current)
Kohana/Request.php: if ( ! Request::$initial)
Kohana/Request.php: Request::$initial = $request = new Request($uri, $client_params, $injected_routes);
Kohana/Request.php: return Request::$initial;
Kohana/Request.php: if (Request::$initial->method() !== HTTP_Request::POST)
Kohana/Request.php: if (Request::$initial !== NULL)
Kohana/Request.php: if (Request::$initial === NULL OR strpos($uri, '://') === FALSE)
Kohana/Request.php: return ($this === Request::$initial);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment