|
@@ -44,21 +44,21 @@ $config['database'] = array
|
|
|
|
|
|
|
|
|
'create' => $create,
|
|
|
-
|
|
|
- 'default' => array
|
|
|
- (
|
|
|
- 'type' => 'pdo',
|
|
|
- 'host' => array
|
|
|
- (
|
|
|
- 'read' => isset($dc['mysql']) ? $dc['mysql']['host'] : 'web-mysql:3306',
|
|
|
- 'update' => isset($dc['mysql']) ? $dc['mysql']['host'] : 'web-mysql:3306',
|
|
|
+
|
|
|
+ 'default' => array
|
|
|
+ (
|
|
|
+ 'type' => 'pdo',
|
|
|
+ 'host' => array
|
|
|
+ (
|
|
|
+ 'read' => isset($dc['mysql']) ? $dc['mysql']['host'] : 'web-mysql:3306',
|
|
|
+ 'update' => isset($dc['mysql']) ? $dc['mysql']['host'] : 'web-mysql:3306',
|
|
|
'create' => isset($dc['mysql']) ? $dc['mysql']['host_create'] : 'web-mysql:3306',
|
|
|
- ),
|
|
|
- 'database' => 'churen',
|
|
|
- 'username' => isset($dc['mysql']) ? $dc['mysql']['username'] : 'root',
|
|
|
- 'password' => isset($dc['mysql']) ? $dc['mysql']['password'] : '123456',
|
|
|
- 'charset' => 'utf8mb4',
|
|
|
- ),
|
|
|
+ ),
|
|
|
+ 'database' => 'churen',
|
|
|
+ 'username' => isset($dc['mysql']) ? $dc['mysql']['username'] : 'root',
|
|
|
+ 'password' => isset($dc['mysql']) ? $dc['mysql']['password'] : '123456',
|
|
|
+ 'charset' => 'utf8mb4',
|
|
|
+ ),
|
|
|
|
|
|
|
|
|
'old' => array
|
|
@@ -132,7 +132,7 @@ $config['cache'] = array
|
|
|
|
|
|
$config['debug'] = array
|
|
|
(
|
|
|
- 'log' => false
|
|
|
+ 'log' => false
|
|
|
);
|
|
|
|
|
|
|
|
@@ -142,7 +142,7 @@ if (DEVER_APP_NAME == 'source') {
|
|
|
*/
|
|
|
|
|
|
|
|
|
-$host = 'http://'.$local . '/churen/';
|
|
|
+$host = 'http://'.$local . '/';
|
|
|
|
|
|
$name = '';
|
|
|
|
|
@@ -173,4 +173,4 @@ if (!strstr($_SERVER['DOCUMENT_URI'], 'goods')) {
|
|
|
}
|
|
|
*/
|
|
|
|
|
|
-return $config;
|
|
|
+return $config;
|