From fc777c99a827bca64983219b13f2c77c13bb1eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 13 Mar 2017 10:06:25 +0100 Subject: [PATCH] Split documentation for ShowChgPassword, ShowCreateDb and ShowPhpInfo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It really doesn't make much sense to have them all covered by one text. Fixes #13069 Signed-off-by: Michal Čihař --- doc/config.rst | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/doc/config.rst b/doc/config.rst index c60891b52d..f647871d99 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -2062,20 +2062,8 @@ Main panel :type: boolean :default: false -.. config:option:: $cfg['ShowChgPassword'] - - :type: boolean - :default: true - -.. config:option:: $cfg['ShowCreateDb'] - - :type: boolean - :default: true - - Defines whether to display the :guilabel:`PHP information` and - :guilabel:`Change password` links and form for creating database or not at - the starting main (right) frame. This setting does not check MySQL commands - entered directly. + Defines whether to display the :guilabel:`PHP information` or not at + the starting main (right) frame. Please note that to block the usage of ``phpinfo()`` in scripts, you have to put this in your :file:`php.ini`: @@ -2092,11 +2080,29 @@ Main panel This might also make easier some remote attacks on your installations, so enable this only when needed. - Also note that enabling the :guilabel:`Change password` link has no effect +.. config:option:: $cfg['ShowChgPassword'] + + :type: boolean + :default: true + + Defines whether to display the :guilabel:`Change password` link or not at + the starting main (right) frame. This setting does not check MySQL commands + entered directly. + + Please note that enabling the :guilabel:`Change password` link has no effect with config authentication mode: because of the hard coded password value in the configuration file, end users can't be allowed to change their passwords. +.. config:option:: $cfg['ShowCreateDb'] + + :type: boolean + :default: true + + Defines whether to display the form for creating database or not at the + starting main (right) frame. This setting does not check MySQL commands + entered directly. + .. config:option:: $cfg['ShowGitRevision'] :type: boolean