@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $socket->listen($configuration->getHttpListenPort(), $configuration->getListenAddress()); |
| 44 | 44 | |
| 45 | 45 | // Configure the web server |
| 46 | - $webroot = realpath(__DIR__ . '/../../client/app'); |
|
| 46 | + $webroot = realpath(__DIR__.'/../../client/app'); |
|
| 47 | 47 | $this->_staticWebServer = new StaticWebServer(new HttpServer($socket), $webroot, $logger); |
| 48 | 48 | |
| 49 | 49 | // Configure the authentication handler |
@@ -33,15 +33,15 @@ |
||
| 33 | 33 | // Create the configuration object |
| 34 | 34 | $config = new Configuration(); |
| 35 | 35 | $config->setDatabasePath($configuration['database_path']) |
| 36 | - ->setLogPath($configuration['log_path']) |
|
| 37 | - ->setInstances(self::parseInstances($configuration)) |
|
| 38 | - ->setAccessToken($configuration['access_token']) |
|
| 39 | - ->setUpdateInterval($configuration['update_interval']) |
|
| 40 | - ->setListenAddress($configuration['listen_address']) |
|
| 41 | - ->setListenPort($configuration['listen_port']) |
|
| 42 | - ->setHttpListenPort($configuration['http_listen_port']) |
|
| 43 | - ->setHttpUsername($configuration['http_username']) |
|
| 44 | - ->setHttpPassword($configuration['http_password']); |
|
| 36 | + ->setLogPath($configuration['log_path']) |
|
| 37 | + ->setInstances(self::parseInstances($configuration)) |
|
| 38 | + ->setAccessToken($configuration['access_token']) |
|
| 39 | + ->setUpdateInterval($configuration['update_interval']) |
|
| 40 | + ->setListenAddress($configuration['listen_address']) |
|
| 41 | + ->setListenPort($configuration['listen_port']) |
|
| 42 | + ->setHttpListenPort($configuration['http_listen_port']) |
|
| 43 | + ->setHttpUsername($configuration['http_username']) |
|
| 44 | + ->setHttpPassword($configuration['http_password']); |
|
| 45 | 45 | |
| 46 | 46 | return $config; |
| 47 | 47 | } |