From 29b91f4ba7933fbc501a45341c18c906c431e014 Mon Sep 17 00:00:00 2001 From: Sebastien Guibert Date: Fri, 1 Jul 2011 18:58:27 +0200 Subject: [PATCH] updated the default route --- init.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.php b/init.php index da52819..6ca9764 100644 --- a/init.php +++ b/init.php @@ -3,6 +3,8 @@ * The default route * It's a bit tricky and particular since it got no translations. * We need to create a general route for this one + * + * It is recommended to move this route into your bootstrap and adapt it. */ $languages = array(); @@ -27,5 +29,5 @@ Route::set('default', $lang_param, array( ))->defaults(array( 'controller' => 'home', 'action' => 'index', - 'lang' => NULL, + 'lang' => Kohana::config('multilang.default'), )); \ No newline at end of file