Skip to content

Commit 6c40b02

Browse files
committed
Add vendor_init.php
1 parent 1b421d5 commit 6c40b02

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"src/ext/sockets.php",
4242
"src/functions.php",
4343
"src/alias.php",
44-
"src/alias_ns.php"
44+
"src/alias_ns.php",
45+
"src/vendor_init.php"
4546
],
4647
"psr-4": {
4748
"Swoole\\": "src/core"

src/vendor_init.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<?php
2+
ini_set('swoole.enable_library', 'On');

0 commit comments

Comments
 (0)