改名
This commit is contained in:
@@ -130,7 +130,7 @@ class Server extends Application
|
|||||||
*/
|
*/
|
||||||
private function create($config)
|
private function create($config)
|
||||||
{
|
{
|
||||||
$settings = $config['settings'] ?? [];
|
$settings = Config::get('settings', false, []);
|
||||||
if (!isset($this->server[$config['type']])) {
|
if (!isset($this->server[$config['type']])) {
|
||||||
throw new Exception('Unknown server type(' . $config['type'] . ').');
|
throw new Exception('Unknown server type(' . $config['type'] . ').');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user