You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SettingController.php 349B

123456789101112131415161718
  1. <?php
  2. namespace console\commands;
  3. use common\logic\Setting\SettingModule;
  4. use yii\console\Controller;
  5. class SettingController extends Controller
  6. {
  7. // ./yii setting/import
  8. public function actionImport()
  9. {
  10. $settingModule = SettingModule::getInstance();
  11. $settingModule->getImporter()->importFromDefinitions();
  12. }
  13. }
  14. ?>