HosipLan

Untitled

Feb 20th, 2012
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. // Configure and run the application!
  2. $application = $container->application;
  3. $application->onError[] = function () use ($application, $container) {
  4.     $container->httpRequest; // ...
  5.     $application->errorPresenter = 'FError';
  6. };
Advertisement
Add Comment
Please, Sign In to add comment