-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php
51 lines (43 loc) · 1.05 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
return [
'database' => [
/**
* Database host address
*/
'host' => 'localhost',
/**
* Username in database
*/
'user' => 'root',
/**
* Password used for login
*/
'pass' => '',
/**
* Database name
*/
'name' => 'xshop'
],
'categories' => [
'phone' => ['apple', 'samsung', 'sony', 'xiaomi', 'vinsmart'],
'laptop' => ['macbook', 'microsoft', 'acer', 'asus'],
'tablet' => ['ipad', 'samsung'],
],
'services' => [
/**
* Register core services
*/
\Core\Services\SessionService::class,
\Core\Services\DatabaseService::class,
/**
* Register app services
*/
\App\Services\HelperService::class,
\App\Services\AuthService::class,
\App\Services\CartService::class,
/**
* Router must register at bottom to handle request
*/
\App\Services\RouterService::class,
],
];