-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
131 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
error_reporting(E_ALL); | ||
ini_set('display_errors', '1'); | ||
|
||
$settings['env'] = 'development'; | ||
|
||
$settings['error_handler_middleware']['log_errors'] = false; | ||
$settings['logger']['level'] = \Monolog\Logger::DEBUG; | ||
$settings['assets']['minify'] = 0; | ||
$settings['locale']['cache'] = null; | ||
$settings['twig']['cache_enabled'] = false; | ||
|
||
// Database | ||
$settings['db']['database'] = 'test'; | ||
$settings['db']['username'] = 'root'; | ||
$settings['db']['password'] = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
/** | ||
* Environment specific application configuration. | ||
* | ||
* You should store all secret information (username, password, token) here. | ||
* | ||
* Make sure the env.php file is added to your .gitignore | ||
* so it is not checked-in the code | ||
* | ||
* Place the env.php _outside_ the project root directory, to protect against | ||
* overwriting at deployment. | ||
* | ||
* This usage ensures that no sensitive passwords or API keys will | ||
* ever be in the version control history so there is less risk of | ||
* a security breach, and production values will never have to be | ||
* shared with all project collaborators. | ||
*/ | ||
require __DIR__ . '/development.php'; | ||
|
||
error_reporting(E_ALL); | ||
ini_set('display_errors', '1'); | ||
|
||
$settings['env'] = 'development'; | ||
|
||
$settings['error_handler_middleware']['log_errors'] = false; | ||
$settings['logger']['level'] = \Monolog\Logger::DEBUG; | ||
$settings['assets']['minify'] = 0; | ||
$settings['locale']['cache'] = null; | ||
$settings['twig']['cache_enabled'] = false; | ||
|
||
// Database | ||
$settings['db']['database'] = 'test'; | ||
$settings['db']['username'] = 'root'; | ||
$settings['db']['password'] = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
// Error reporting | ||
error_reporting(E_ALL); | ||
ini_set('display_errors', '1'); | ||
|
||
// Continuous integration environment | ||
$settings['env'] = 'integration'; | ||
|
||
$settings['error_handler_middleware']['log_errors'] = false; | ||
$settings['logger']['level'] = \Monolog\Logger::DEBUG; | ||
$settings['assets']['minify'] = 0; | ||
$settings['locale']['cache'] = null; | ||
$settings['twig']['cache_enabled'] = false; | ||
|
||
// Database | ||
$settings['db']['database'] = 'test'; | ||
$settings['db']['username'] = 'root'; | ||
$settings['db']['password'] = ''; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
// Production environment | ||
$settings['env'] = 'production'; | ||
|
||
// Database | ||
$settings['db']['database'] = 'prod_dbname'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
// Staging environment | ||
$settings['env'] = 'staging'; | ||
|
||
// Database | ||
$settings['db']['database'] = 'staging_dbname'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
// Testing environment | ||
$settings['env'] = 'testing'; | ||
|
||
// Error reporting | ||
error_reporting(E_ALL); | ||
ini_set('display_errors', '1'); | ||
|
||
// Database | ||
$settings['db']['database'] = 'test_dbname'; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters