Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Dispatch
- $controller->dispatch($action, new Action('error/not_found'));
- Session::save();
- if (\Majestic\Env::Server('HTTP_X_REQUESTED_WITH') != 'XMLHttpRequest' && !headers_sent()) {
- LastModified();
- if (strpos(\Majestic\Env::Server('HTTP_USER_AGENT'), 'MSIE') !== false) {
- header('X-UA-Compatible: IE=edge,chrome=1');
- }
- LaravelSession::getInstance()->setKey(Session::getId());
- }
- // Output
- $response->output();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement