Convert configuration PHP 5.4 arrays.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -44,15 +44,15 @@ return array(
|
||||
|
|
||||
*/
|
||||
|
||||
'connections' => array(
|
||||
'connections' => [
|
||||
|
||||
'sqlite' => array(
|
||||
'sqlite' => [
|
||||
'driver' => 'sqlite',
|
||||
'database' => storage_path().'/database.sqlite',
|
||||
'prefix' => '',
|
||||
),
|
||||
],
|
||||
|
||||
'mysql' => array(
|
||||
'mysql' => [
|
||||
'driver' => 'mysql',
|
||||
'host' => 'localhost',
|
||||
'database' => 'forge',
|
||||
@@ -61,9 +61,9 @@ return array(
|
||||
'charset' => 'utf8',
|
||||
'collation' => 'utf8_unicode_ci',
|
||||
'prefix' => '',
|
||||
),
|
||||
],
|
||||
|
||||
'pgsql' => array(
|
||||
'pgsql' => [
|
||||
'driver' => 'pgsql',
|
||||
'host' => 'localhost',
|
||||
'database' => 'forge',
|
||||
@@ -72,18 +72,18 @@ return array(
|
||||
'charset' => 'utf8',
|
||||
'prefix' => '',
|
||||
'schema' => 'public',
|
||||
),
|
||||
],
|
||||
|
||||
'sqlsrv' => array(
|
||||
'sqlsrv' => [
|
||||
'driver' => 'sqlsrv',
|
||||
'host' => 'localhost',
|
||||
'database' => 'database',
|
||||
'username' => 'root',
|
||||
'password' => '',
|
||||
'prefix' => '',
|
||||
),
|
||||
],
|
||||
|
||||
),
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -109,16 +109,16 @@ return array(
|
||||
|
|
||||
*/
|
||||
|
||||
'redis' => array(
|
||||
'redis' => [
|
||||
|
||||
'cluster' => false,
|
||||
|
||||
'default' => array(
|
||||
'default' => [
|
||||
'host' => '127.0.0.1',
|
||||
'port' => 6379,
|
||||
'database' => 0,
|
||||
),
|
||||
],
|
||||
|
||||
),
|
||||
],
|
||||
|
||||
);
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user