Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

JOOMLA_CACHE requires integer value #336

Closed
stevenrombauts opened this issue Sep 27, 2017 · 0 comments · Fixed by #337
Closed

JOOMLA_CACHE requires integer value #336

stevenrombauts opened this issue Sep 27, 2017 · 0 comments · Fixed by #337
Assignees
Milestone

Comments

@stevenrombauts
Copy link
Member

The Joomla core we based this code on had already introduced the "progressive" and "conservative" caching options, instead of just enabled or disabled. Setting the JOOMLA_CACHE env var to "true" doesn't actually enable it. The value gets compared to an integer, in which case its value is 0.

See:

'caching' => ($conf->get('caching') >= 1) ? true : false,

Update the .env-example file to avoid confusion.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant