aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--composer.json3
-rw-r--r--index.php4
2 files changed, 2 insertions, 5 deletions
diff --git a/composer.json b/composer.json
index f1f3e75..4f72d20 100644
--- a/composer.json
+++ b/composer.json
@@ -16,7 +16,8 @@
"autoload": {
"psr-4": {
"Wcms\\": "app/class"
- }
+ },
+ "files": ["app/fn/fn.php"]
},
"autoload-dev": {
"psr-4": {
diff --git a/index.php b/index.php
index 28dab1a..caa6ddf 100644
--- a/index.php
+++ b/index.php
@@ -3,10 +3,6 @@
session_start();
-
-require('app/fn/fn.php');
-
-
require('./vendor/autoload.php');