Skip to content

Commit

Permalink
Merge pull request OSGeo#11647 from mdsumner/patch-10
Browse files Browse the repository at this point in the history
DOC: configoptions fix ignore-env-vars directive
  • Loading branch information
rouault authored Jan 14, 2025
2 parents 2ad0a28 + ff557b8 commit b4ddb34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/source/user/configoptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,15 @@ or through the ``--config`` command line switch.
The value of environment variables set before GDAL starts will be used instead
of the value set in the configuration files, unless, starting with GDAL 3.6,
the configuration file starts with a ``[directives]`` section that contains a
``ignore-env-variables=yes`` entry.
``ignore-env-vars=yes`` entry.

.. code-block::
[directives]
# ignore environment variables. Take only into account the content of the
# [configoptions] section, or ones defined programmatically with
# CPLSetConfigOption / CPLSetThreadLocalConfigOption.
ignore-env-variables=yes
ignore-env-vars=yes
Starting with GDAL 3.5, a configuration file can also contain credentials
Expand Down

0 comments on commit b4ddb34

Please sign in to comment.