Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions config/environments/development.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
<?php
/**
* This file contains a base config for a development environment.
*
* It can be overridden using a .env or .env.local file in the root directory
* of the project.
*
* Always use App::define() to define new constants in this file.
*/

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('SCRIPT_DEBUG', true);
use \DeliciousBrains\SpinupWPComposerSite\App;

App::define( 'WP_DEBUG', true );
App::define( 'WP_DEBUG_LOG', true );
App::define( 'WP_DEBUG_DISPLAY', false );
App::define( 'SCRIPT_DEBUG', true );

@ini_set( 'display_errors', E_ALL );

define( 'DISALLOW_FILE_MODS', false );
App::define( 'DISALLOW_FILE_MODS', false );
11 changes: 10 additions & 1 deletion config/environments/production.php
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
<?php
// Add any production specific config
/**
* This file contains a base config for a production environment.
*
* It can be overridden using a .env or .env.local file in the root directory
* of the project
*
* Always use App::define() to define new constants in this file.
*/

// App::define( CONSTANT, 'production_value' );
11 changes: 10 additions & 1 deletion config/environments/staging.php
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
<?php
// Add any staging specific config
/**
* This file contains a base config for a staging environment.
*
* It can be overridden using a .env or .env.local file in the root directory
* of the project
*
* Always use App::define() to define new constants in this file.
*/

// App::define( CONSTANT, 'staging_value' );