상속: extends Controller
예제 #1
0
 public function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('pricespy');
     $this->load->library('DX_Auth');
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('convead');
     $this->load->model('convead_model');
 }
예제 #3
0
 public function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('ymarket');
     $this->load->model('ymarket_model');
 }
 public function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('admin_menu');
     $this->load->model('admin_menu_model');
 }
예제 #5
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('red_helper_model');
     $lang = new MY_Lang();
     $lang->load('red_helper');
 }
예제 #6
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('DX_Auth');
     $this->load->model('rating_model');
     $obj = new MY_Lang();
     $obj->load('star_rating');
 }
예제 #7
0
 public function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('documentation');
     $this->load->model('documentation_model');
     $this->load->library('pagination');
 }
예제 #8
0
 /**
  * 前置操作
  */
 public function before()
 {
     parent::before();
     $this->view->assign('indexLogindo', $this->getUrl('index', 'logindo'));
     $this->view->assign('indexRun', $this->getUrl('index', 'run'));
     $this->view->assign('indexDefault', $this->getUrl('index', 'def'));
     $this->view->assign('indexLoginout', $this->getUrl('index', 'loginout'));
 }
예제 #9
0
 public function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('translator');
     $this->load->helper('translator');
     $this->poFileManager = new PoFileManager();
 }
예제 #10
0
 public function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('new_level');
     $this->load->model('new_level_model');
     $this->path = TEMPLATES_PATH . $this->db->get('settings')->row()->site_template;
 }
예제 #11
0
 function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('share');
     $this->load->library('DX_Auth');
     //cp_check_perm('module_admin');
 }
예제 #12
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library('DX_Auth');
     admin_or_redirect();
     $this->load->library('lib_admin');
     $this->lib_admin->init_settings();
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->language('email');
     $this->email = \cmsemail\email::getInstance();
     $lang = new MY_Lang();
     $lang->load('cmsemail');
 }
예제 #14
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library('DX_Auth');
     admin_or_redirect();
     $this->load->library('lib_admin');
     $this->lib_admin->init_settings();
     //cp_check_perm('backup_create');
 }
 function __construct()
 {
     parent::__construct();
     $this->load->library('DX_Auth');
     //cp_check_perm('module_admin');
     $this->load->model('base', 'comments');
     $obj = new MY_Lang();
     $obj->load('comments');
 }
 public function __construct()
 {
     parent::__construct();
     $this->currentTemplate = TemplateManager::getInstance()->getCurentTemplate();
     $this->templatesUploadPath = PUBPATH . 'uploads/templates';
     $this->loadLangs();
     $this->cache->delete_all();
     \CMSFactory\Events::create()->setListener([new DemodataMigrationsControl(), 'run'], TemplateManager::EVENT_DEMODATA_INSTALLED);
 }
예제 #17
0
 public function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('trash');
     $this->load->library('DX_Auth');
     \CMSFactory\assetManager::create()->registerScript('script');
     //cp_check_perm('module_admin');
 }
 public function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('feedback');
     // Only admin access
     $this->load->library('DX_Auth');
     //cp_check_perm('module_admin');
 }
예제 #19
0
 public function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('template_editor');
     //cp_check_perm('module_admin');
     //TEMPLATES_PATH
     $this->load->helper('directory');
 }
 public function __construct()
 {
     parent::__construct();
     $this->docsPath = PUBPATH . 'docs/';
     $this->jsonListFile = $this->docsPath . 'list.json';
     $this->load->library('DX_Auth');
     admin_or_redirect();
     $this->load->library('lib_admin');
     $this->lib_admin->init_settings();
 }
예제 #21
0
 function __construct()
 {
     parent::__construct();
     $this->load->library('DX_Auth');
     admin_or_redirect();
     $this->load->library('lib_admin');
     $this->lib_admin->init_settings();
     $this->setInstalled();
     $this->setNotPermited();
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->library('DX_Auth');
     admin_or_redirect();
     $this->load->library('lib_admin');
     $this->load->library('pagination');
     $this->lib_admin->init_settings();
     //cp_check_perm('logs_view');
 }
예제 #23
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library('DX_Auth');
     admin_or_redirect();
     $this->load->library('lib_admin');
     $this->lib_admin->init_settings();
     $_POST['search_text'] = urldecode($_POST['search_text']);
     //cp_check_perm('cp_page_search');
 }
예제 #24
0
 public function __construct()
 {
     parent::__construct();
     $this->load->model('wishlist_model');
     $this->load->language('wishlist');
     $this->load->helper('string_helper');
     $this->settings = $this->wishlist_model->getSettings();
     $lang = new MY_Lang();
     $lang->load('wishlist');
 }
 public function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('translator');
     $this->load->helper('translator');
     $this->poFileManager = new PoFileManager();
     self::$SAAS = MAINSITE ? TRUE : FALSE;
     self::$BILING = is_dir('./application/modules/saas') ? TRUE : FALSE;
 }
예제 #26
0
 public function __construct()
 {
     parent::__construct();
     $this->load->library('DX_Auth');
     admin_or_redirect();
     $this->load->library('lib_admin');
     $this->lib_admin->init_settings();
     // $this->lang->load_gettext('ru','utf-8', 'default', 'application/language/admiin');
     //$this->lang->load_gettext('en','utf-8', 'messages', 'application/language');
     //$this->lang->load_gettext('en','utf-8', 'newdomen', 'application/language');
 }
예제 #27
0
 public function __construct()
 {
     parent::__construct();
     $lang = new MY_Lang();
     $lang->load('sample_mail');
     //loading model for work with emails
     $this->load->model('sample_mail_model');
     $this->load->library('form_validation');
     $this->load->module('core');
     $this->locale = $this->core->def_lang[0]['identif'];
 }
 function __construct()
 {
     parent::__construct();
     $this->load->library('DX_Auth');
     if ($this->dx_auth->is_admin() == TRUE) {
         redirect('/admin');
     }
     $this->load->library(array('lib_admin', 'form_validation'));
     $this->lib_admin->init_settings();
     $this->form_validation->set_error_delimiters('<div class="alert alert-error">', '</div>');
 }
예제 #29
0
 public function __construct()
 {
     if (!extension_loaded('soap')) {
         showMessage(lang('PHP SOAP extension is not installed'), '', 'r');
         pjax('/admin');
     }
     parent::__construct();
     $this->update = new Update();
     $this->load->library('lib_admin');
     $this->lib_admin->init_settings();
     ini_set("soap.wsdl_cache_enabled", "0");
 }
 public function __construct()
 {
     parent::__construct();
     $this->load->library('DX_Auth');
     //cp_check_perm('module_admin');
     parent::__construct();
     $this->load->module('forms');
     $this->load->library('form_validation');
     $this->_set_forms_config();
     $obj = new MY_Lang();
     $obj->load('cfcm');
 }