Skip to content

Commit

Permalink
Docs: adding upgrade note about index.php/bootstrap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zombor committed Jan 24, 2011
1 parent fdabce3 commit 5e3a93d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion guide/kohana/upgrading.md
Expand Up @@ -59,4 +59,8 @@ The cookie class now throws an exception if there isn't a salt set, and no salt

If for some reason you are overloading your controller's constructor, it has changed to:

public function __construct(Request $request, Response $response)
public function __construct(Request $request, Response $response)

## index.php / bootstrap.php changes

The main change here is that the request execution has been removed from bootstrap.php and moved to index.php. This allows you to use one bootstrap when doing testing. The reason for this change is that the bootstrap should only setup the environment. It shouldn't run it.

0 comments on commit 5e3a93d

Please sign in to comment.