function __construct() { global $registry; parent::__construct($registry); require_once DIR_CONFIG . 'ssb_library/catalog/tools/path_controller.php'; $this->pathController = pathController::getInstance(); }
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(); }