@@ -7,25 +7,25 @@ |
||
7 | 7 | |
8 | 8 | class Error extends AbstractionController |
9 | 9 | { |
10 | - public function notFound() |
|
11 | - { |
|
12 | - $this->setShowView(false); |
|
13 | - $this->setLayout('HTTP404'); |
|
10 | + public function notFound() |
|
11 | + { |
|
12 | + $this->setShowView(false); |
|
13 | + $this->setLayout('HTTP404'); |
|
14 | 14 | |
15 | 15 | $http = new Http(); |
16 | 16 | $http->writeStatus($http::HTTP_NOT_FOUND); |
17 | 17 | |
18 | - return []; |
|
19 | - } |
|
18 | + return []; |
|
19 | + } |
|
20 | 20 | |
21 | - public function notFoundView() |
|
22 | - { |
|
23 | - $this->setLayout('blank'); |
|
24 | - //$this->setTerminal(true); |
|
21 | + public function notFoundView() |
|
22 | + { |
|
23 | + $this->setLayout('blank'); |
|
24 | + //$this->setTerminal(true); |
|
25 | 25 | |
26 | 26 | $http = new Http(); |
27 | 27 | $http->writeStatus($http::HTTP_NOT_FOUND); |
28 | 28 | |
29 | - return []; |
|
30 | - } |
|
29 | + return []; |
|
30 | + } |
|
31 | 31 | } |
32 | 32 | \ No newline at end of file |
@@ -2,21 +2,21 @@ |
||
2 | 2 | |
3 | 3 | return [ |
4 | 4 | 'project' => [ |
5 | - 'id' => 'id6447896', # Unique ID for the project |
|
6 | - 'name' => 'SQLWebManager' # The name of your project |
|
5 | + 'id' => 'id6447896', # Unique ID for the project |
|
6 | + 'name' => 'SQLWebManager' # The name of your project |
|
7 | 7 | ], |
8 | - 'mail' => [ |
|
9 | - "noreply" => "", |
|
10 | - "host" => "" |
|
11 | - ], |
|
12 | - "authentication" => [ |
|
13 | - "method" => "_COOKIE", # the method to store credentials (_COOKIE, _SESSION) |
|
14 | - "key" => "session_id6448654", # the key in the array to store credentials |
|
15 | - ], |
|
16 | - "database" => [ |
|
17 | - /** TABLE PREFIX: |
|
18 | - * Database prefix of tables, specifically here, the prefix of entity gateway above. |
|
19 | - */ |
|
20 | - "prefix" => "SWM" |
|
21 | - ] |
|
8 | + 'mail' => [ |
|
9 | + "noreply" => "", |
|
10 | + "host" => "" |
|
11 | + ], |
|
12 | + "authentication" => [ |
|
13 | + "method" => "_COOKIE", # the method to store credentials (_COOKIE, _SESSION) |
|
14 | + "key" => "session_id6448654", # the key in the array to store credentials |
|
15 | + ], |
|
16 | + "database" => [ |
|
17 | + /** TABLE PREFIX: |
|
18 | + * Database prefix of tables, specifically here, the prefix of entity gateway above. |
|
19 | + */ |
|
20 | + "prefix" => "SWM" |
|
21 | + ] |
|
22 | 22 | ]; |
23 | 23 | \ No newline at end of file |
@@ -13,9 +13,9 @@ |
||
13 | 13 | |
14 | 14 | try |
15 | 15 | { |
16 | - $config = include "config/application.config.php"; |
|
17 | - $mvc = new Drone\Mvc\Application($config); |
|
18 | - $mvc->run(); |
|
16 | + $config = include "config/application.config.php"; |
|
17 | + $mvc = new Drone\Mvc\Application($config); |
|
18 | + $mvc->run(); |
|
19 | 19 | } |
20 | 20 | # to load only the error view |
21 | 21 | catch (Drone\Mvc\Exception\ViewNotFoundException $e) |