Skip to content

reliv/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reliv Server

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:

https://github.com/reliv

Project author:

James Jervis

Project author email:

jjervis@relivinc.com

Project author homepage:

https://github.com/reliv/server

About

Server Environment detection based on config array-file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages