diff options
-rw-r--r-- | itjs.class | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 } /** |