public function __construct()
 {
     parent::__construct();
     if (!Cfg::system('delay_job', 'is_check') || !(($value = OAInput::post(Cfg::system('delay_job', 'key'))) !== null && $value == md5(Cfg::system('delay_job', 'value')))) {
         show_error('The delay job key or value error! Please confirm your program again.');
     }
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
     $this->add_meta(array('http-equiv' => 'Content-type', 'content' => 'text/html; charset=utf-8'))->add_meta(array('name' => 'viewport', 'content' => 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui'))->add_hidden(array('id' => 'ajax_navbar_url', 'value' => base_url('ajax', 'navbar')))->add_hidden(array('id' => 'facebook_appId', 'value' => Cfg::setting('facebook', 'appId')))->add_hidden(array('id' => 'facebook_version', 'value' => Cfg::setting('facebook', 'version')));
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct();
     $this->add_meta(array('http-equiv' => 'Content-type', 'content' => 'text/html; charset=utf-8'));
 }