]> granicus.if.org Git - php/commitdiff
It's get_cfg_var() not cfg_get_var()
authorSander Roobol <sander@php.net>
Sun, 19 May 2002 14:16:41 +0000 (14:16 +0000)
committerSander Roobol <sander@php.net>
Sun, 19 May 2002 14:16:41 +0000 (14:16 +0000)
php.ini-dist
php.ini-recommended

index 5e5436e46e00bc7304706eda71122fc26789730f..8ec7385c2660c752f2b41a6ce7a1d4a078e15bf7 100644 (file)
@@ -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 =
index 00abe700299d8e99abe7f25c2f1fab29cbf99a54..3f555e05c1a24380c84b1cb6668f8d8687d50126 100644 (file)
@@ -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 =