diff options
author | Urban Müller | 2019-07-03 15:37:58 +0200 |
---|---|---|
committer | Urban Müller | 2019-07-03 15:37:58 +0200 |
commit | d42ccc282042c9040d4402d8009e5f5208c3124a (patch) | |
tree | 9d810ad9038d937fa2817afa280349e18c119aa7 | |
parent | 0bbd8aea0363104e2d79542a5f0377edc3d0b3ff (diff) | |
download | itools-d42ccc282042c9040d4402d8009e5f5208c3124a.tar.gz itools-d42ccc282042c9040d4402d8009e5f5208c3124a.tar.bz2 itools-d42ccc282042c9040d4402d8009e5f5208c3124a.zip |
no errors if headers were sent because of keepalive-output
-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 } /** |