swoft icon indicating copy to clipboard operation
swoft copied to clipboard

无法使用ini_get方法获取php.ini配置

Open zarte opened this issue 5 years ago • 1 comments

··· if (!\ini_get('sdebug.coverage_enable')) { //返回false throw new RuntimeException('sdebug.coverage_enable=On has to be set in php.ini'); } ··· 试过其他配置项也是无法获取

zarte avatar Sep 02 '20 09:09 zarte

ini_get 这些跟使用swoft是不影响的。看下是不是你php配置里禁用了方法啥的

inhere avatar Sep 02 '20 09:09 inhere