diff options
author | Urban Müller | 2013-10-18 14:17:00 +0000 |
---|---|---|
committer | Urban Müller | 2013-10-18 14:17:00 +0000 |
commit | cb0483f54cccd5118baf5aaf86c2e33ccfa5ff3c (patch) | |
tree | 97943c9238e13a6d55ada690e85f2d4bccae1f6a /itjs.class | |
parent | d585355bfa25b26563f21e2705269fbde23b3db9 (diff) | |
download | itools-cb0483f54cccd5118baf5aaf86c2e33ccfa5ff3c.tar.gz itools-cb0483f54cccd5118baf5aaf86c2e33ccfa5ff3c.tar.bz2 itools-cb0483f54cccd5118baf5aaf86c2e33ccfa5ff3c.zip |
additional check if headers can be modified
Diffstat (limited to 'itjs.class')
-rw-r--r-- | itjs.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -195,7 +195,7 @@ static function checksum($fnlist) { $origheaders = headers_list(); $result = it_cache::put($key, substr(md5(itjs::filecontents(is_array($fnlist) ? $fnlist : itjs::filenames($fnlist), false)), 0, 8)); - if (headers_list() != $origheaders) + if (!headers_sent() && headers_list() != $origheaders) { header_remove(); foreach ($origheaders as $origheader) |