// Set default option for the menu in the installer
This commit is contained in:
1 parent
aef0897436
commit
fc42ce17b8
1 file changed
+1
-1
@@ -468,7 +468,7 @@ class InstallModelInstall extends InstallAbstractModel
|
|||||||
$employee->active = true;
|
$employee->active = true;
|
||||||
$employee->id_profile = 1;
|
$employee->id_profile = 1;
|
||||||
$employee->id_lang = Configuration::get('PS_LANG_DEFAULT');
|
$employee->id_lang = Configuration::get('PS_LANG_DEFAULT');
|
||||||
$employee->bo_show_screencast = 1;
|
$employee->bo_menu = 1;
|
||||||
if (!$employee->add())
|
if (!$employee->add())
|
||||||
{
|
{
|
||||||
$this->setError($this->language->l('Cannot create admin account'));
|
$this->setError($this->language->l('Cannot create admin account'));
|
||||||
|
|||||||
Reference in new issue
Block a user