示例#1
0
 function __construct($config = array())
 {
     parent::__construct($config);
     $this->modify_views[] = 'wizard';
     $this->modify[] = 'wizard_save';
     $this->registerDefaultTask('update');
     $this->display[] = 'post_install';
     $this->modify[] = 'process_data_save';
 }
示例#2
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');
     }
 }