예제 #1
0
파일: Leads.php 프로젝트: ArpanTanna/seo
 public function __construct()
 {
     parent::__construct();
     $this->load->model('common_model');
     $this->lang->load('web', 'english');
     $this->template->set_template('template_leads');
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     if (isset($this->_request['logout'])) {
         $this->logout();
     }
     if (isset($this->_request['user_login'])) {
         $this->login($this->_request['userf'], $this->_request['passwdf']);
     }
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct(true);
     $this->save = false;
     if (isset($this->_request)) {
         if (array_key_exists('try', $this->_request)) {
             $this->tryConfig($this->createOptionsArray());
         }
         if (array_key_exists('save', $this->_request)) {
             if (!empty($this->_request['user']) && !empty($this->_request['passwd'])) {
                 $this->saveConfig($this->createOptionsArray());
             } else {
                 $this->addMessage($this->_str['missing_user']);
             }
         }
     }
     $this->defaults['dir_exec'] = DIR_EXEC;
 }
예제 #4
0
파일: Mycron.php 프로젝트: ArpanTanna/seo
 public function __construct()
 {
     parent::__construct();
     $this->load->model('common_model');
     $this->lang->load('web', 'english');
 }