summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--itjs.class5
1 files changed, 2 insertions, 3 deletions
diff --git a/itjs.class b/itjs.class
index 7922cdc..2e7cf48 100644
--- a/itjs.class
+++ b/itjs.class
@@ -33,9 +33,8 @@ function send_headers($charset = null)
self::$charset = $charset;
- header("Content-Type: application/x-javascript; charset=$charset");
-
- header('Expires: ' . gmdate('D, d M Y H:i:s', time()+10) . ' GMT'); # prevent broken data on IE reloads
+ @header("Content-Type: application/x-javascript; charset=$charset");
+ @header('Expires: ' . gmdate('D, d M Y H:i:s', time()+10) . ' GMT'); # prevent broken data on IE reloads
}
/**