You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.
Even when the environment variable JOOMLA_DEBUG is set to "false", the debug is still still turned on.
Diagnosis:
Getting JOOMLA_CACHE and JOOMLA_DEBUG from the environment returns a string, so if the configuration is set based on the value like "false" or "0", it will always be equivalent to true.
Solution:
Instead of setting the value as "false" or "true", it should be set to "0" or "1". Then the value should be converted into boolean through type casting.
The text was updated successfully, but these errors were encountered:
Problem:
Even when the environment variable JOOMLA_DEBUG is set to "false", the debug is still still turned on.
Diagnosis:
Getting JOOMLA_CACHE and JOOMLA_DEBUG from the environment returns a string, so if the configuration is set based on the value like
"false"
or"0"
, it will always be equivalent to true.Solution:
Instead of setting the value as
"false"
or"true"
, it should be set to"0"
or"1"
. Then the value should be converted into boolean through type casting.The text was updated successfully, but these errors were encountered: