PHP Classes

File: documentation/en/conf/env_by_host.md

Recommend this page to a friend!
  Classes of Fernando Val   Springy   documentation/en/conf/env_by_host.md   Download  
File: documentation/en/conf/env_by_host.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: Springy
Microframework for Web application development
Author: By
Last change:
Date: 1 month ago
Size: 413 bytes
 

Contents

Class file image Download

Environment by host configuration file

The files env_by_host.php in /conf directory is used by Kernel to defines a different environment by the host been accessed.

This configuration file returns an array with a key pair where the key is a regular expression to search the host and the value is the environment. This configuration will replace the environment definition if the site host exists in.