コード例 #1
0
ファイル: toggle.php プロジェクト: rodhoff/MNW
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->registerDefaultTask('toggle');
     if (!headers_sent()) {
         header('Cache-Control: no-store, no-cache, must-revalidate');
         header('Cache-Control: post-check=0, pre-check=0', false);
         header('Pragma: no-cache');
     }
 }
コード例 #2
0
ファイル: update.php プロジェクト: q0821/esportshop
 function state()
 {
     JRequest::setVar('layout', 'state');
     return parent::display();
 }