Skip to content

Commit

Permalink
Fixed issue #8620: XAMPP installation doesn't allow login
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Feb 2, 2014
1 parent b9323a6 commit dea804e
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions application/commands/InstallCommand.php
Expand Up @@ -133,17 +133,20 @@ public function run($sArgument)
'full_name'=>$sArgument[2],
'parent_id'=>0,
'lang'=>'auto',
'email'=>$sArgument[3],
'create_survey'=>1,
'participant_panel'=>1,
'create_user'=>1,
'delete_user'=>1,
'superadmin'=>1,
'configurator'=>1,
'manage_template'=>1,
'manage_label'=>1
'email'=>$sArgument[3]
));
$this->connection->createCommand()->insert($aConfig['db']['tablePrefix'].'permissions', array(
'entity'=>'global',
'entity_id'=>0,
'uid'=>1,
'permission'=>'superadmin',
'create_p'=>0,
'read_p'=>1,
'update_p'=>0,
'delete_p'=>0,
'import_p'=>0,
'export_p'=>0
));

}

function _executeSQLFile($sFileName, $sDatabasePrefix)
Expand Down

1 comment on commit dea804e

@mennodekker
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason you are not using the models here like in the installer controller (around line 635)?

Please sign in to comment.