예제 #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();
 }