mirror of
https://github.com/jimeh/zynapse.git
synced 2026-02-19 07:06:39 +00:00
Basic environment set functionality is in place.
This commit is contained in:
25
config/environment.php
Normal file
25
config/environment.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/*
|
||||
|
||||
Zynapse Environment
|
||||
- configure server environments and display modes
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
# Default environment - Overridden by host specific
|
||||
# configurations.
|
||||
#
|
||||
# ( development | test | staging | production )
|
||||
$environment = 'development';
|
||||
|
||||
|
||||
# When enabled, environment and more is set based
|
||||
# on the current domain that zynapse is running from.
|
||||
#
|
||||
# Configure hosts in "config/hosts.php".
|
||||
$enable_host_specific_configuration = true;
|
||||
|
||||
|
||||
?>
|
||||
5
config/environments/development.php
Normal file
5
config/environments/development.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
?>
|
||||
5
config/environments/production.php
Normal file
5
config/environments/production.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
?>
|
||||
5
config/environments/staging.php
Normal file
5
config/environments/staging.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
?>
|
||||
5
config/environments/test.php
Normal file
5
config/environments/test.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
?>
|
||||
26
config/hosts.php
Normal file
26
config/hosts.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
# host configuration
|
||||
# - set environment, display mode, and root path for
|
||||
# specific hosts. available options are "environment",
|
||||
# "mode", and "root".
|
||||
$hosts = array(
|
||||
// 'zynapse' => array(
|
||||
//
|
||||
// ),
|
||||
// 'wap.zynapse' => array(
|
||||
// 'mode' => 'wap',
|
||||
// ),
|
||||
// 'admin.zynapse' => array(
|
||||
// 'root' => 'admin',
|
||||
// ),
|
||||
// 'zynapse.org' => array(
|
||||
// 'environment' => 'production',
|
||||
// ),
|
||||
// 'admin.zynapse.org' => array(
|
||||
// 'environment' => 'production',
|
||||
// 'root' => 'admin',
|
||||
// ),
|
||||
);
|
||||
|
||||
?>
|
||||
5
config/routes.php
Normal file
5
config/routes.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user