Projekt

Obecné

Profil

Stáhnout (359 Bajtů) Statistiky
| Větev: | Tag: | Revize:
18ac9009 Ondřej Fibich
Index: mpdf.php
===================================================================
--- mpdf.php (revision 2341)
+++ mpdf.php (working copy)
@@ -1724,8 +1724,7 @@
function Error($msg) {
//Fatal error
- header('Content-Type: text/html; charset=utf-8');
- die('<B>mPDF error: </B>'.$msg);
+ throw new Exception($msg);
}
function Open() {