Jelajahi Sumber

autoload(sixshop-core): 在 composer.json 中添加 files 配置项加载 src/functions.php 文件

runphp 6 bulan lalu
induk
melakukan
95d3a0f375
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      composer.json

+ 2 - 1
composer.json

@@ -10,7 +10,8 @@
   "autoload": {
     "psr-4": {
       "SixShop\\Core\\": "src/"
-    }
+    },
+    "files": ["src/functions.php"]
   },
   "authors": [
     {