'utf-8', 'base_url' => '/ko3/', 'index_file' => 'index.php')); /** * Enable modules. Modules are referenced by a relative or absolute path. */ Kohana::modules(array( // 'orm' => MODPATH.'orm', 'database' => MODPATH.'database', 'todoist' => MODPATH.'todoist', )); /** * Attach the file write to logging. Any Kohana_Log object can be attached, * and multiple writers are supported. */ Kohana::$log->attach(new Kohana_Log_File(APPPATH.'logs')); /** * Set the routes. */ Route::set('test', 'test/((/))') ->defaults(array( 'directory' => 'test', 'controller' => 'list', 'action' => 'index')); Route::set('default', '((/(/)))') ->defaults(array( 'controller' => 'welcome', 'action' => 'index', 'id' => NULL)); /** * Execute the main request using PATH_INFO. If no URI source is specified, * the URI will be automatically detected. */ echo Request::instance($_SERVER['PATH_INFO']) ->execute() ->send_headers() ->response;