Rev 635 | Rev 1050 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 635 | Rev 1005 | ||
---|---|---|---|
Line 50... | Line 50... | ||
50 | if (!file_exists($local_file)) { |
50 | if (!file_exists($local_file)) { |
51 | http_response_code(404); |
51 | http_response_code(404); |
52 | throw new OIDplusException(_L('The file does not exist')); |
52 | throw new OIDplusException(_L('The file does not exist')); |
53 | } |
53 | } |
54 | 54 | ||
- | 55 | OIDplus::invoke_shutdown(); |
|
- | 56 | ||
55 | VtsBrowserDownload::output_file($local_file); |
57 | VtsBrowserDownload::output_file($local_file); |
56 | } catch (Exception $e) { |
58 | } catch (Exception $e) { |
57 | echo '<h1>'._L('Error').'</h1><p>'.htmlentities($e->getMessage()).'<p>'; |
59 | echo '<h1>'._L('Error').'</h1><p>'.htmlentities($e->getMessage()).'<p>'; |
58 | } |
60 | } |