reliv / server
Server environment detection based on config array-file
Installs: 1 120
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 9
Forks: 2
Open Issues: 0
Requires
- php: >=5.5
README
Server Environment detection based on config array-file
Usage
In your bootstrap file (usually index.php)
// First Auto-loader or include file // Include the environment specific config file \Reliv\Server\Environment::setLocalEnvironment(__DIR__ . '/../config/env.php');
Config file format:
<?php return [ 'RelivServerEnvironment' => [ 'name' => 'local', 'isProduction' => false, 'initSet' => [ // EXAMPLE: 'xdebug.max_nesting_level' => 200, ], ], ];
Project homepage:
Project author:
James Jervis