reliv / server
基于配置数组文件的服务器环境检测
0.1.5
2018-04-30 22:46 UTC
Requires
- php: >=5.5
README
基于配置数组文件的服务器环境检测
使用方法
在您的引导文件中(通常是index.php)
// First Auto-loader or include file // Include the environment specific config file \Reliv\Server\Environment::setLocalEnvironment(__DIR__ . '/../config/env.php');
配置文件格式
<?php return [ 'RelivServerEnvironment' => [ 'name' => 'local', 'isProduction' => false, 'initSet' => [ // EXAMPLE: 'xdebug.max_nesting_level' => 200, ], ], ];
项目主页
项目作者
James Jervis