示例#1
0
 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();
 }