@@ -5,8 +5,9 @@ |
||
5 | 5 | * @version 1.0 |
6 | 6 | * Autogenerated autoloader [2019-01-03 15:23:58] |
7 | 7 | */ |
8 | -if(!defined("BASE_DIR")) |
|
9 | -define("BASE_DIR", dirname( dirname(__DIR__) ) ); |
|
8 | +if(!defined("BASE_DIR")) { |
|
9 | + define("BASE_DIR", dirname( dirname(__DIR__) ) ); |
|
10 | +} |
|
10 | 11 | |
11 | 12 | require_once __DIR__ . DIRECTORY_SEPARATOR . 'Config' . DIRECTORY_SEPARATOR . 'config.php'; |
12 | 13 |
@@ -14,14 +14,14 @@ |
||
14 | 14 | const DOMAIN = 'NOSQL'; |
15 | 15 | |
16 | 16 | /** |
17 | - * @Autoload |
|
18 | - * @var \NOSQL\Services\NOSQLService |
|
19 | - */ |
|
17 | + * @Autoload |
|
18 | + * @var \NOSQL\Services\NOSQLService |
|
19 | + */ |
|
20 | 20 | protected $srv; |
21 | 21 | |
22 | 22 | /** |
23 | - * Constructor por defecto |
|
24 | - */ |
|
23 | + * Constructor por defecto |
|
24 | + */ |
|
25 | 25 | function __construct() { |
26 | 26 | $this->init(); |
27 | 27 | $this->setDomain('NOSQL') |
@@ -14,14 +14,14 @@ |
||
14 | 14 | class NOSQLController extends NOSQLBaseController { |
15 | 15 | |
16 | 16 | /** |
17 | - * Index |
|
18 | - * @GET |
|
19 | - * @label Admin nosql composer |
|
20 | - * @action true |
|
21 | - * @visible true |
|
22 | - * @route /admin/nosql |
|
23 | - * @return string HTML |
|
24 | - */ |
|
17 | + * Index |
|
18 | + * @GET |
|
19 | + * @label Admin nosql composer |
|
20 | + * @action true |
|
21 | + * @visible true |
|
22 | + * @route /admin/nosql |
|
23 | + * @return string HTML |
|
24 | + */ |
|
25 | 25 | public function index() { |
26 | 26 | return $this->render('index.html.twig'); |
27 | 27 | } |