We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c25da7 commit 98cd89eCopy full SHA for 98cd89e
composer.json
@@ -8,7 +8,10 @@
8
"autoload": {
9
"psr-4" : {
10
"App\\" : "app/"
11
- }
+ },
12
+ "files": [
13
+ "app/Helper/repository.php"
14
+ ]
15
},
16
17
"scripts": {
public/index.php
@@ -16,9 +16,6 @@
'connection' => require_once "../config/connection.php"
]);
18
19
-// Helpers
20
-require_once "../app/Helper/repository.php";
21
-
22
if ($app->getContainer()->get('settings')['basic_auth']) {
23
// Basic Authentication for all routes
24
$basic_auth = new \App\Middleware\BasicAuth($auth['basic_auths']);
0 commit comments