This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
generated from StartBootstrap/startbootstrap-sb-admin-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.dist.php
47 lines (45 loc) · 1.55 KB
/
config.dist.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
<?php
declare(strict_types = 1);
return [
'logFile' => __DIR__ . DIRECTORY_SEPARATOR . 'log.txt',
// This key will encrypt session data and passwords, change it and all sessions are logged out
// AND PASSWORDS WILL NOT WORK ANYMORE AND NEED A RESET
'secretKey' => 'R*KhN9Z#kpzziVZXp^aiM3C9q86mEpYj3GsH8jr@HdViDxzM76DEq',// Fill this value with a long random string
'sessionName' => 'admin-1',// Keep it simple, this allows easy multi sites on the same host
'siteName' => 'WdesAdmin',// Will display on the left bar
'modules' => [// Register the modules
WdesAdminModule\profile\Profile::class => [// The config for the module
'test-config' => 'test-value',
],
],
'database' => [
'production' => [
'adapter' => 'mysql',
'host' => 'localhost',
'name' => 'production_db',
'user' => 'root',
'pass' => '',
'port' => '3306',
'charset' => 'utf8',
],
'development' => [
'adapter' => 'mysql',
'host' => 'localhost',
'name' => 'development_db',
'user' => 'root',
'pass' => '',
'port' => '3306',
'charset' => 'utf8',
],
'testing' => [
'adapter' => 'mysql',
'host' => 'localhost',
'name' => 'testing_db',
'user' => 'root',
'pass' => '',
'port' => '3306',
'charset' => 'utf8',
]
],
'currentDatabaseEnv' => 'production',
];