Changeset 1020

Show
Ignore:
Timestamp:
05/22/05 21:53:28 (4 years ago)
Author:
torben
Message:

Fixed Live-Mode HTTP Header Handling

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/midcom/services/cache/module/content.php

    r951 r1020  
    531531            // Ignore errors in case _obrunning is wrong, we are in the right state then anyway. 
    532532            @ob_end_flush(); 
     533            $this->_obrunning = false; 
    533534        } 
    534535         
     
    666667        debug_push_class(__CLASS__, __FUNCTION__); 
    667668 
    668         if ($this->_no_cache)  
     669        if (   $this->_no_cache  
     670            || $this->_live_mode)  
    669671        { 
    670672            if ($this->_obrunning)  
    671673            { 
    672                 debug_add("We are on no_cache, flushing output buffer and exitting"); 
     674                debug_add("We are on no_cache/live mode, flushing output buffer and exitting"); 
    673675                ob_end_flush(); 
    674676            }  
    675677            else  
    676678            { 
    677                 debug_add("We don't had an outputbuffer running though the caching system was active, ignoring this as we are in no_cache mode!", 
     679                debug_add("We don't had an outputbuffer running though the caching system was active, ignoring this as we are in no_cache/live mode!", 
    678680                    MIDCOM_LOG_WARN); 
    679681            }