Hidding Chgpassword field and information schema database in phpmyadmin. Forcing it to forget login after logout
This commit is contained in:
parent
1f13677bc1
commit
114c1eb999
|
@ -17,6 +17,9 @@
|
||||||
include_once('/var/alternc/bureau/class/local.php');
|
include_once('/var/alternc/bureau/class/local.php');
|
||||||
$cfg['SuhosinDisableWarning'] = true;
|
$cfg['SuhosinDisableWarning'] = true;
|
||||||
$cfg['ShowCreateDb'] = false;
|
$cfg['ShowCreateDb'] = false;
|
||||||
|
$cfg['ShowChgPassword'] = false;
|
||||||
|
$cfg['LoginCookieRecall'] = false;
|
||||||
|
|
||||||
$i = 1;
|
$i = 1;
|
||||||
|
|
||||||
$cfg['Servers'][$i]['host'] = $GLOBALS['L_MYSQL_HOST']; // MySQL hostname or IP address
|
$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]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
|
||||||
$cfg['Servers'][$i]['user'] = $_COOKIE["REMOTE_USER"]; ; // MySQL user
|
$cfg['Servers'][$i]['user'] = $_COOKIE["REMOTE_USER"]; ; // MySQL user
|
||||||
$cfg['Servers'][$i]['password'] = $_COOKIE["REMOTE_PASSWORD"]; ; // MySQL password (only needed
|
$cfg['Servers'][$i]['password'] = $_COOKIE["REMOTE_PASSWORD"]; ; // MySQL password (only needed
|
||||||
|
$cfg['Servers'][$i]['hide_db'] = 'information_schema';
|
||||||
// // with 'config' auth_type)
|
// // with 'config' auth_type)
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
|
@ -32,5 +36,6 @@ $i++;
|
||||||
$cfg['Servers'][$i]['host'] = $GLOBALS['L_MYSQL_HOST']; // MySQL hostname or IP address
|
$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]['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]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)?
|
||||||
|
$cfg['Servers'][$i]['hide_db'] = 'information_schema';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue