Show
Ignore:
Timestamp:
02/07/07 09:02:17 (22 months ago)
Author:
mbonetti
Message:

cleanup

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/cls/rss.php

    r1668 r1689  
    116116    } 
    117117 
    118  
    119     /** 
    120      * //DEPRECATED! 
    121       
    122     function getCachedTemplateFile($file) { 
    123         static $templateCache = array(); 
    124         $filename = $this->getTemplateFile($file); 
    125         if (array_key_exists($filename, $templateCache)) { 
    126             return $templateCache[$filename]; 
    127         } 
    128         $fileContent = file_get_contents(GREGARIUS_HOME . $filename); 
    129         $modifiedFileContent = eval_mixed($fileContent); 
    130         $templateCache[$filename] = $modifiedFileContent; 
    131  
    132         return $modifiedFileContent; 
    133     } 
    134  
    135     */ 
    136118     
    137119    function renderWithTemplate($template,$mainDivId="items") { 
    138120         
    139121        $this->_pf('start rendering'); 
    140         if (!($this->header->options & HDR_NO_OUPUTBUFFERING)) { 
     122        if (!($this->header->options & HDR_NO_OUPUTBUFFERING)) { 
    141123            if (getConfig('rss.output.compression')) { 
    142124                @ob_start('ob_gzhandler'); 
     
    147129            header('Content-Type: text/html; charset=' 
    148130                   . (getConfig('rss.output.encoding') ? getConfig('rss.output.encoding') : DEFAULT_OUTPUT_ENCODING)); 
    149  
    150131        } 
    151132