Skip to content

Instantly share code, notes, and snippets.

@hissy
Last active January 16, 2020 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hissy/606aee8885ef302b49b584623c1046c6 to your computer and use it in GitHub Desktop.
Save hissy/606aee8885ef302b49b584623c1046c6 to your computer and use it in GitHub Desktop.
#concrete5 config file for local environment
<?php
/**
* Set default value for curl option
*/
return [
'http_client' => [
'connecttimeout' => 30,
],
];
<?php
/**
* Enable debug display
* Disable email, marketplace, external access, session invalidate, help overlay
*/
return [
'accessibility' => [
'display_help_system' => false,
],
'debug' => [
'display_errors' => true,
/*
* Site debug level
*
* @var string (message|debug)
*/
'detail' => 'debug',
],
'email' => [
'enabled' => false,
],
'external' => [
'intelligent_search_help' => false,
'news' => false,
],
'marketplace' => [
'enabled' => false,
],
'security' => [
'session' => [
'invalidate_on_user_agent_mismatch' => false,
'invalidate_on_ip_mismatch' => false,
],
],
'updates' => [
'skip_core' => true,
],
];
@hissy
Copy link
Author

hissy commented Jan 16, 2020

Download valet.app.php and valet.concrete.php into your application/config/ directory.
"valet" is the name of the environment. If you don't use valet, please follow this documentation to separate config files between environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment