Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
537be73b
Unverified
Commit
537be73b
authored
4 years ago
by
totten
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #19383 from eileenmcnaughton/civi_sett
Add setting default to speed up cache flush
parents
fe41c91d
5f5b01da
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/CRM/common/civicrm.settings.php.template
+9
-7
9 additions, 7 deletions
templates/CRM/common/civicrm.settings.php.template
with
9 additions
and
7 deletions
templates/CRM/common/civicrm.settings.php.template
+
9
−
7
View file @
537be73b
...
...
@@ -526,15 +526,17 @@ if (CIVICRM_UF === 'UnitTests') {
* the absolute path. Remember to use your system's DIRECTORY_SEPARATOR the
* examples below assume /
*
*
Example: This
excludes node_modules (can be huge), various CiviCRM dirs that
*
The default
excludes node_modules (can be huge), various CiviCRM dirs that
* are unlikely to have anything we need to scan inside, and (what could be
* your) Drupal's private file storage area.
* your) Drupal's private file storage area. It does not exclude
* vendor but you are likely to see an improvement by adding it.
*
* '@/(\.|node_modules|js/|css/|bower_components|packages/|vendor/|sites/default/files/private)@'
* See https://docs.civicrm.org/sysadmin/en/latest/setup/optimizations/#exclude-dirs-that-do-not-need-to-be-scanned
* and also discussion on including vendor (excluded) in https://lab.civicrm.org/dev/core/-/issues/2031
*/
//
if (!defined('CIVICRM_EXCLUDE_DIRS_PATTERN')) {
//
define('CIVICRM_EXCLUDE_DIRS_PATTERN', '@/\.@');
//
}
if
(
strtoupper
(
substr
(
PHP_OS
,
0
,
3
))
!==
'WIN'
&&
!
defined
(
'CIVICRM_EXCLUDE_DIRS_PATTERN'
))
{
define
(
'CIVICRM_EXCLUDE_DIRS_PATTERN'
,
'@/
(
\.
|node_modules|js/|css/|bower_components|packages/|sites/default/files/private)
@'
);
}
/**
*
...
...
@@ -552,7 +554,7 @@ if ( set_include_path( $include_path ) === false ) {
}
if
(
!
defined
(
'CIVICRM_CLEANURL'
))
{
if
(
function_exists
(
'variable_get'
)
&&
variable_get
(
'clean_url'
,
'0'
)
!=
'0'
)
{
if
(
function_exists
(
'variable_get'
)
&&
variable_get
(
'clean_url'
,
'0'
)
!=
'0'
)
{
define
(
'CIVICRM_CLEANURL'
,
1
);
}
elseif
(
function_exists
(
'config_get'
)
&&
config_get
(
'system.core'
,
'clean_url'
)
!=
0
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment