初始化代码
This commit is contained in:
6
vendor/swoole/ide-helper/output/swoole_lib/constants.php
vendored
Normal file
6
vendor/swoole/ide-helper/output/swoole_lib/constants.php
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
define('SWOOLE_LIBRARY', true);
|
||||
|
||||
$useShortname = ini_get_all('swoole')['swoole.use_shortname']['local_value'];
|
||||
$useShortname = strtolower(trim(str_replace('0', '', $useShortname)));
|
||||
define('SWOOLE_USE_SHORTNAME', !in_array($useShortname, ['', 'off', 'false'], true));
|
||||
Reference in New Issue
Block a user