예제 #1
0
파일: Chart.php 프로젝트: Doluci/tomatocart
 public function render()
 {
     if (Piwik_Url::getCurrentScheme() == 'https' || Zend_Registry::get('config')->General->reverse_proxy) {
         @header("Pragma: ");
         @header("Cache-Control: must-revalidate");
     }
     return $this->chart->toPrettyString();
 }
예제 #2
0
파일: Chart.php 프로젝트: ntulip/piwik
 public function render()
 {
     @header("Pragma: ");
     @header("Cache-Control: no-store, must-revalidate");
     return $this->chart->toPrettyString();
 }
예제 #3
0
 public function render()
 {
     return $this->chart->toPrettyString();
 }
예제 #4
0
 public function render()
 {
     Piwik::overrideCacheControlHeaders();
     return $this->chart->toPrettyString();
 }