ac7f6f5b56
management
31 lines
637 B
PHP
31 lines
637 B
PHP
<?php
|
|
|
|
$defaultConfig = [
|
|
'db' => [
|
|
'host' => 'localhost',
|
|
'user' => 'user',
|
|
'password' => 'password',
|
|
'dbname' => 'pdnsmanager',
|
|
'port' => 3306
|
|
],
|
|
'logging' => [
|
|
'level' => 'info',
|
|
'path' => ''
|
|
],
|
|
'sessionstorage' => [
|
|
'plugin' => 'apcu',
|
|
'timeout' => 3600,
|
|
'config' => null
|
|
],
|
|
'authentication' => [
|
|
'default' => [
|
|
'plugin' => 'native',
|
|
'config' => null
|
|
]
|
|
]
|
|
];
|
|
|
|
$userConfig = require('ConfigUser.php');
|
|
|
|
return array('config' => array_replace_recursive($defaultConfig, $userConfig));
|