コード例 #1
0
ファイル: AddonsList.php プロジェクト: kirkbauer2/kirkxc
 /**
  * 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
ファイル: Upgrade.php プロジェクト: kirkbauer2/kirkxc
 /**
  * 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'));
 }