Hidding Chgpassword field and information schema database in phpmyadmin. Forcing it to forget login after logout

This commit is contained in:
Steven Mondji-Lerider 2012-09-10 09:17:55 +00:00
parent 1f13677bc1
commit 114c1eb999
1 changed files with 5 additions and 0 deletions

View File

@ -17,6 +17,9 @@
include_once('/var/alternc/bureau/class/local.php');
$cfg['SuhosinDisableWarning'] = true;
$cfg['ShowCreateDb'] = false;
$cfg['ShowChgPassword'] = false;
$cfg['LoginCookieRecall'] = false;
$i = 1;
$cfg['Servers'][$i]['host'] = $GLOBALS['L_MYSQL_HOST']; // MySQL hostname or IP address
@ -24,6 +27,7 @@ $cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL serv
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = $_COOKIE["REMOTE_USER"]; ; // MySQL user
$cfg['Servers'][$i]['password'] = $_COOKIE["REMOTE_PASSWORD"]; ; // MySQL password (only needed
$cfg['Servers'][$i]['hide_db'] = 'information_schema';
// // with 'config' auth_type)
$i++;
@ -32,5 +36,6 @@ $i++;
$cfg['Servers'][$i]['host'] = $GLOBALS['L_MYSQL_HOST']; // MySQL hostname or IP address
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['hide_db'] = 'information_schema';
?>