Kohana 3: Routing with subdirectories error, controller does not exist

haker9912312321

New Member
So I'm trying to build a route with sub directories and following the Kerkness wiki guide but keep getting errors. If someone could point out what I'm doing wrong I would greatly appreciate it.http://kerkness.ca/wiki/doku.php?id=routing:building_routes_with_subdirectoriesThe code:\[code\]Route::set('default', '(<directory>(/<controller>(/<action>(/<id>))))', array('directory' => '.+?')) ->defaults(array( 'directory' => 'admin', 'controller' => 'main', 'action' => 'index', ));\[/code\]The url:\[code\]/admin/weather/feedback\[/code\]The file:\[code\]/application/classes/controller/admin/weather/feedback.phpclass Controller_Admin_Weather extends Controller_Admin_Base {\[/code\]The error:\[code\] ReflectionException [ -1 ]: Class controller_admin_weather does not exist\[/code\]
 
Back
Top