1
0
mirror of https://github.com/flarum/core.git synced 2025-10-19 18:56:44 +02:00

Redo installer

This commit is contained in:
Franz Liedke
2015-08-12 01:41:42 +02:00
parent 7b07e02e75
commit 25c5fb075f
7 changed files with 295 additions and 67 deletions

View File

@@ -0,0 +1,25 @@
<?php namespace Flarum\Install\Console;
class DefaultData implements ProvidesData
{
public function getDatabaseConfiguration()
{
return [
'driver' => 'mysql',
'host' => 'localhost',
'database' => 'flarum',
'username' => 'root',
'password' => 'root',
'prefix' => '',
];
}
public function getAdminUser()
{
return [
'username' => 'admin',
'password' => 'admin',
'email' => 'admin@example.com',
];
}
}