Commit 2e18b63e34b2ae01ff6febcefc9629c67e3673be
- Diff rendering mode:
- inline
- side by side
Belokan.php
(2 / 2)
|   | |||
| 5 | 5 | http://gitorious.org/projects/belokan | |
| 6 | 6 | --- | |
| 7 | 7 | Belokan/Belokan.php: | |
| 8 | Belokan core class + __autoload | ||
| 8 | Belokan core class | ||
| 9 | 9 | */ | |
| 10 | 10 | ||
| 11 | 11 | class Belokan { | |
| … | … | ||
| 43 | 43 | ||
| 44 | 44 | if (!$RESTCtrl && !method_exists($ctrlClass, $actionMethod)) { | |
| 45 | 45 | if ($logBelokan) | |
| 46 | $log->add('Belokan', '['.date('Y-m-d H:i').'] Request undefined action ('.$action.') for page '.$ctrl.'. HTTP 404 error generated.'); | ||
| 46 | $log->add('Belokan', '['.date('Y-m-d H:i').'] Request undefined action ('.$action.') for controller '.$ctrl.'. HTTP 404 error generated.'); | ||
| 47 | 47 | $actionMethod = 'e404'; | |
| 48 | 48 | $ctrlInstance = new HttpErrorsController('HttpErrors', 'e404'); | |
| 49 | 49 | } |

