Skip to content

Instantly share code, notes, and snippets.

@hissy hissy/valet.app.php

Last active Jan 16, 2020
Embed
What would you like to do?
#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

This comment has been minimized.

Copy link
Owner 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
You can’t perform that action at this time.