summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php.ini-dist2
-rw-r--r--php.ini-recommended2
2 files changed, 2 insertions, 2 deletions
diff --git a/php.ini-dist b/php.ini-dist
index 5e5436e46e..8ec7385c26 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -593,7 +593,7 @@ mysql.default_user =
; Default password for mysql_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
-; *Any* user with PHP access can run 'echo cfg_get_var("mysql.default_password")
+; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
; and reveal this password! And of course, any users with read access to this
; file will be able to reveal the password as well.
mysql.default_password =
diff --git a/php.ini-recommended b/php.ini-recommended
index 00abe70029..3f555e05c1 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -598,7 +598,7 @@ mysql.default_user =
; Default password for mysql_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this file.
-; *Any* user with PHP access can run 'echo cfg_get_var("mysql.default_password")
+; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
; and reveal this password! And of course, any users with read access to this
; file will be able to reveal the password as well.
mysql.default_password =