Skip to content

Commit 66cf945

Browse files
committed
Include functions.php via composer.json
1 parent 4fe6b4d commit 66cf945

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@
6363
"psr-4": {
6464
"app\\": "",
6565
"Apphp\\MLKit\\": "src/"
66-
}
66+
},
67+
"files": [
68+
"public/include/functions.php"
69+
]
6770
},
6871
"autoload-dev": {
6972
"psr-4": {

public/index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
include('include/global.php');
33
require APP_PATH . 'vendor/autoload.php';
44
include('include/request.php');
5-
include('include/functions.php');
65

76
$menu = include_once('include/menu.php');
87

0 commit comments

Comments
 (0)