Browse Source

Console ModuleController module file fix

master
Egorka 6 years ago
parent
commit
714fe21eed
  1. 2
      console/controllers/ModuleController.php

2
console/controllers/ModuleController.php

@ -85,7 +85,7 @@ class ModuleController extends Controller
// add module record with active flag
$db_module = ModuleRecord::find()->andWhere(['name' => $name])->one();
if (!$db_module) {
$this->_service->create($name, 'common\\modules\\' . $name . '\\' . $manifest['vjlule'], 'common', 1);
$this->_service->create($name, 'common\\modules\\' . $name . '\\' . $manifest['module'], 'common', 1);
}
// init permissions
echo ConsoleColor::log('Database: ', 'normal');

Loading…
Cancel
Save