コード例 #1
0
ファイル: clearSEO.php プロジェクト: gittrue/VIF
 function __construct()
 {
     global $registry;
     parent::__construct($registry);
     require_once DIR_CONFIG . 'ssb_library/ssb_data.php';
     $this->ssb_data = ssb_data::getInstance();
 }
コード例 #2
0
ファイル: ssb_site_map.php プロジェクト: gittrue/VIF
 function __construct()
 {
     global $registry;
     parent::__construct($registry);
     require_once DIR_CONFIG . 'ssb_library/ssb_helper.php';
     $this->ssb_helper = ssb_helper::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_data.php';
     $this->ssb_data = ssb_data::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_table.php';
     $this->ssb_table = ssb_table::getInstance();
     $this->ssb_setting = $this->ssb_data->getSetting();
 }
コード例 #3
0
ファイル: gen_reviews.php プロジェクト: gittrue/VIF
 function __construct()
 {
     global $registry;
     parent::__construct($registry);
     require_once DIR_CONFIG . 'ssb_library/admin/generators/ssb_review.php';
     $this->ssb_review = ssb_review::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_helper.php';
     $this->ssb_helper = ssb_helper::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_data.php';
     $this->ssb_data = ssb_data::getInstance();
     require_once DIR_CONFIG . 'ssb_library/admin/generators/gen_helper.php';
     $this->gen_helper = gen_helper::getInstance();
 }
コード例 #4
0
ファイル: ssb_seo_controller.php プロジェクト: gittrue/VIF
 function __construct()
 {
     global $registry;
     parent::__construct($registry);
     require_once DIR_CONFIG . 'ssb_library/ssb_helper.php';
     $this->ssb_helper = ssb_helper::getInstance();
     require_once DIR_CONFIG . 'ssb_library/catalog/tools/path_controller.php';
     $this->pathController = pathController::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_data.php';
     $this->ssb_data = ssb_data::getInstance();
     $this->ssb_setting = $this->ssb_data->getSetting();
     $this->totalLanguages = isset($_SESSION['totalLanguages']) ? $_SESSION['totalLanguages'] : $this->ssb_helper->getActiveLang();
     $this->def_lang_code = isset($_SESSION['def_lang_code']) ? $_SESSION['def_lang_code'] : $this->ssb_helper->getDefaultLanguage();
 }
コード例 #5
0
ファイル: ssb_seo_url.php プロジェクト: gittrue/VIF
 function __construct()
 {
     global $registry;
     parent::__construct($registry);
     require_once DIR_CONFIG . 'ssb_library/ssb_seo_controller.php';
     $this->seoController = seoController::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_helper.php';
     $this->ssb_helper = ssb_helper::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_data.php';
     $this->ssb_data = ssb_data::getInstance();
     $this->ssb_setting = $this->ssb_data->getSetting();
     list($this->totalLanguages, $this->def_lang_code) = $this->seoController->getDefaultLanguageData();
     list($this->l_code_session, $this->l_id_session) = $this->seoController->setLanguageData();
 }
コード例 #6
0
ファイル: superseobox.php プロジェクト: gittrue/VIF
 function __construct()
 {
     global $registry;
     parent::__construct($registry);
     require_once DIR_CONFIG . 'ssb_library/ssb_data.php';
     $this->ssb_data = ssb_data::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_table.php';
     $this->ssb_table = ssb_table::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_helper.php';
     $this->ssb_helper = ssb_helper::getInstance();
     $this->verOC = $this->ssb_helper->getVerOC();
     require_once DIR_CONFIG . 'ssb_library/ssb_category_template.php';
     $this->ssb_category_template = ssb_category_template::getInstance();
 }
コード例 #7
0
ファイル: gen_urls.php プロジェクト: gittrue/VIF
 function __construct()
 {
     global $registry;
     parent::__construct($registry);
     require_once DIR_CONFIG . 'ssb_library/ssb_helper.php';
     $this->ssb_helper = ssb_helper::getInstance();
     require_once DIR_CONFIG . 'ssb_library/admin/generators/gen_helper.php';
     $this->gen_helper = gen_helper::getInstance();
     require_once DIR_CONFIG . 'ssb_library/admin/transliteration/transliteration.php';
     $this->transliteration = transliteration::getInstance();
     require_once DIR_CONFIG . 'ssb_library/glob_set.php';
     $this->glob_set = glob_set::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_data.php';
     $this->ssb_data = ssb_data::getInstance();
 }
コード例 #8
0
ファイル: gen_related_prod.php プロジェクト: gittrue/VIF
 function __construct()
 {
     global $registry;
     parent::__construct($registry);
     require_once DIR_CONFIG . 'ssb_library/ssb_helper.php';
     $this->ssb_helper = ssb_helper::getInstance();
     require_once DIR_CONFIG . 'ssb_library/ssb_data.php';
     $this->ssb_data = ssb_data::getInstance();
     require_once DIR_CONFIG . 'ssb_library/admin/generators/gen_helper.php';
     $this->gen_helper = gen_helper::getInstance();
     $sql = "SHOW INDEX FROM " . DB_PREFIX . "product_description WHERE Key_name='relatedProducts'";
     $query = $this->db->query($sql);
     if (!count($query->rows)) {
         $this->db->query("ALTER TABLE " . DB_PREFIX . "product_description ENGINE = MYISAM;");
         $this->db->query("CREATE FULLTEXT INDEX relatedProducts ON " . DB_PREFIX . "product_description (name, description);");
     }
 }