|
|
@ -19,11 +19,6 @@ $environment = new \Yggverse\Next\Model\Environment( |
|
|
|
) |
|
|
|
) |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// Init filesystem |
|
|
|
|
|
|
|
$filesystem = new \Yggverse\Next\Model\Filesystem( |
|
|
|
|
|
|
|
$environment->get('root') |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Start server |
|
|
|
// Start server |
|
|
|
try |
|
|
|
try |
|
|
|
{ |
|
|
|
{ |
|
|
@ -36,8 +31,15 @@ try |
|
|
|
case 'fs': |
|
|
|
case 'fs': |
|
|
|
|
|
|
|
|
|
|
|
$controller = new \Yggverse\Next\Controller\Nex\Filesystem( |
|
|
|
$controller = new \Yggverse\Next\Controller\Nex\Filesystem( |
|
|
|
$environment, |
|
|
|
$environment |
|
|
|
$filesystem |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
case 'keva': |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$controller = new \Yggverse\Next\Controller\Nex\Kevacoin( |
|
|
|
|
|
|
|
$environment |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
break; |
|
|
|
break; |
|
|
|