@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 8 | 8 | use Silex\Application; |
| 9 | 9 | use Silex\Api\ControllerProviderInterface; |
| 10 | -use Monolog\Logger; |
|
| 11 | 10 | use RedBeanPHP\Facade as R; |
| 12 | 11 | |
| 13 | 12 | class SecurityController implements ControllerProviderInterface |
@@ -3,11 +3,9 @@ |
||
| 3 | 3 | namespace BitPrepared\Bundle\D1b0Workspace\Controller\V1; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\HttpFoundation\Request; |
| 6 | -use Symfony\Component\HttpFoundation\Response; |
|
| 7 | 6 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 8 | 7 | use Silex\Application; |
| 9 | 8 | use Silex\Api\ControllerProviderInterface; |
| 10 | -use Monolog\Logger; |
|
| 11 | 9 | use RedBeanPHP\Facade as R; |
| 12 | 10 | |
| 13 | 11 | class WorkspaceController implements ControllerProviderInterface |
@@ -11,13 +11,11 @@ |
||
| 11 | 11 | use Silex\Application; |
| 12 | 12 | use Symfony\Component\HttpFoundation\Request; |
| 13 | 13 | use Symfony\Component\HttpFoundation\Response; |
| 14 | -use Symfony\Component\HttpFoundation\JsonResponse; |
|
| 15 | 14 | use Silex\Provider\MonologServiceProvider; |
| 16 | 15 | use Ivoba\Silex\RedBeanServiceProvider; |
| 17 | 16 | use Silex\Provider\SessionServiceProvider; |
| 18 | 17 | use Carbon\Carbon; |
| 19 | 18 | use Monolog\Logger; |
| 20 | -use RedBeanPHP\Facade as R; |
|
| 21 | 19 | |
| 22 | 20 | // FIXME va messo nel php.ini |
| 23 | 21 | date_default_timezone_set('Europe/Rome'); |
@@ -32,9 +32,9 @@ |
||
| 32 | 32 | $this->app->log('log info', [], Logger::INFO); //grazie al traits <- da trasformare prima in app |
| 33 | 33 | |
| 34 | 34 | $data = array( |
| 35 | - "workspace" => "OK", |
|
| 36 | - "fileManager" => "OK", |
|
| 37 | - "externalLogin" => "OK" |
|
| 35 | + "workspace" => "OK", |
|
| 36 | + "fileManager" => "OK", |
|
| 37 | + "externalLogin" => "OK" |
|
| 38 | 38 | ); |
| 39 | 39 | |
| 40 | 40 | $headers = []; |