File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change 1111
1212$ baseUrl = 'http://light.dotkernel.localhost ' ;
1313
14+ $ databases = [
15+ 'default ' => [
16+ 'host ' => 'localhost ' ,
17+ 'dbname ' => 'light ' ,
18+ 'user ' => 'root ' ,
19+ 'password ' => '123 ' ,
20+ 'port ' => 3306 ,
21+ 'driver ' => 'pdo_mysql ' ,
22+ 'charset ' => 'utf8mb4 ' ,
23+ 'collate ' => 'utf8mb4_general_ci ' ,
24+ ],
25+ // you can add more database connections into this array
26+ ];
27+
1428return [
29+ 'databases ' => $ databases ,
30+ 'doctrine ' => [
31+ 'connection ' => [
32+ 'orm_default ' => [
33+ 'params ' => $ databases ['default ' ],
34+ ],
35+ ],
36+ ],
1537 'application ' => [
1638 'url ' => $ baseUrl ,
1739 ],
18- 'routes ' => [
40+ 'routes ' => [
1941 'page ' => [
20- 'about ' => 'about ' ,
42+ 'about ' => 'about ' ,
2143 'who-we-are ' => 'who-we-are ' ,
2244 ],
2345 ],
You can’t perform that action at this time.
0 commit comments