示例#1
0
 /**
  * Initialize controller
  *
  * @return void
  */
 public function init()
 {
     parent::init();
     if (!$this->getAction()) {
         // Check license keys registered in the store
         \XLite\Core\Marketplace::getInstance()->checkAddonsKeys();
         // Download data from marketplace
         \XLite\Core\Marketplace::getInstance()->saveAddonsList();
     }
 }
示例#2
0
 /**
  * Define the actions with no secure token
  *
  * @return array
  */
 public static function defineFreeFormIdActions()
 {
     return array_merge(parent::defineFreeFormIdActions(), array('view_log_file', 'view', 'start_upgrade', 'request_for_upgrade', 'validate_keys'));
 }