Fix user requirement in setup, cleanup.
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Kelunik\AcmeClient;
|
||||
|
||||
function commandToClass($command) {
|
||||
return __NAMESPACE__ . "\\Commands\\" . ucfirst($command);
|
||||
}
|
||||
|
||||
function getServer(Configuration $config = null) {
|
||||
if ($config === null) {
|
||||
$path = dirname(__DIR__) . "/data";
|
||||
$config = new Configuration($path . "/account/config.json");
|
||||
}
|
||||
|
||||
return $config->get("server");
|
||||
}
|
||||
Reference in New Issue
Block a user