Kohana v3.3.2

This commit is contained in:
Deon George
2014-09-06 23:43:07 +10:00
parent f96694b18f
commit 8888719653
236 changed files with 1685 additions and 996 deletions

View File

@@ -128,7 +128,7 @@ A user login action.
// Try to login
if (Auth::instance()->login($this->request->post('username'), $this->request->post('password')))
{
$this->redirect('home', 302);
$this->redirect('home', 303);
}
$view->errors = 'Invalid email or password';

View File

@@ -126,9 +126,9 @@ You can also assign a variable of your parent view to be the child view from wit
// In your controller:
public functin action_index()
public function action_index()
{
$view = View::factory('common/template);
$view = View::factory('common/template');
$view->title = "Some title";
$view->body = View::factory('pages/foobar');