| Message: | File not found for %20Controller at /var/www/shellvanvliet/application/index/controllers/%20.php |
| File: | /var/www/shellvanvliet/library/Controller/Dispatcher.php |
| Line: | 30 |
| 19 |
$request = $fc->request; |
| 20 |
$controller = $request->get('controller'); |
| 21 |
$file = BASEPATH . 'application/' . $request->get('module') . '/controllers/' . $controller . '.php'; |
| 22 |
$class = $controller . 'Controller'; |
| 23 |
$method = $request->get('action') . 'Action'; |
| 24 |
|
| 25 |
$request->dispatched = true; |
| 26 |
|
| 27 |
// Ivm Controller_Action::forward() kan $className al ingeladen zijn. |
| 28 |
if (!class_exists($class, false)) { |
| 29 |
if (!is_file($file)) { |
| 30 |
throw new Exception('File not found for ' . $class . ' at ' . $file, 404); |
| 31 |
} |
| 32 |
|
| 33 |
include $file; |
| 34 |
|
| 35 |
if (!class_exists($class, false)) { |
| 36 |
throw new Exception('Class "' . $class . '" not found inside file ' . $file); |
| 37 |
} |
| 38 |
} |
| 39 |
|
| 40 |
$actionController = new $class($request); |
| 41 |
if (!$actionController instanceof Controller_Action) { |
| 42 |
throw new Exception('Action Controller "' . $class . '" must extend Controller_Action'); |
#0 /var/www/shellvanvliet/library/Controller/Front.php(65): Controller_Dispatcher->dispatch(Object(Controller_Front))
#1 /var/www/shellvanvliet/www/index.php(23): Controller_Front->run()
#2 {main}