From 295e8e5bd4613e9cb51dcdedcfa7cc30288a8215 Mon Sep 17 00:00:00 2001 From: Sander Roobol Date: Sun, 19 May 2002 14:16:41 +0000 Subject: [PATCH] It's get_cfg_var() not cfg_get_var() --- php.ini-dist | 2 +- php.ini-recommended | 2 +- 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 = -- 2.50.1