From: Sander Roobol Date: Sun, 19 May 2002 14:16:41 +0000 (+0000) Subject: It's get_cfg_var() not cfg_get_var() X-Git-Tag: RELEASE_0_4~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=295e8e5bd4613e9cb51dcdedcfa7cc30288a8215;p=php It's get_cfg_var() not cfg_get_var() --- 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 =