Skip to content

Commit

Permalink
Add vendor_init.php
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Aug 20, 2021
1 parent 1b421d5 commit 6c40b02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"src/ext/sockets.php",
"src/functions.php",
"src/alias.php",
"src/alias_ns.php"
"src/alias_ns.php",
"src/vendor_init.php"
],
"psr-4": {
"Swoole\\": "src/core"
Expand Down
2 changes: 2 additions & 0 deletions src/vendor_init.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
ini_set('swoole.enable_library', 'On');

0 comments on commit 6c40b02

Please sign in to comment.