diff --git a/libraries/auth/config.auth.lib.php3 b/libraries/auth/config.auth.lib.php3 new file mode 100644 index 000000000..4a9301327 --- /dev/null +++ b/libraries/auth/config.auth.lib.php3 @@ -0,0 +1,115 @@ + authentication failed + * + * @global string the MySQL error message PHP returns + * @global string the connection type (persitent or not) + * @global string the MySQL server port to use + * @global string the MySQL socket port to use + * @global array the current server settings + * @global string the font face to use in case of failure + * @global string the default font size to use in case of failure + * @global string the big font size to use in case of failure + * + * @return boolean always true (no return indeed) + * + * @access public + */ + function PMA_auth_fails() + { + global $php_errormsg; + global $connect_func, $server_port, $server_socket, $cfgServer; + global $right_font_family, $font_size, $font_bigger; + + if (mysql_error()) { + $conn_error = mysql_error(); + } else if (isset($php_errormsg)) { + $conn_error = $php_errormsg; + } else { + $conn_error = 'Cannot connect: invalid settings.'; + } + $local_query = $connect_func . '(' + . $cfgServer['host'] . $server_port . $server_socket . ', ' + . $cfgServer['user'] . ', ' + . $cfgServer['password'] . ')'; + ?> + + + + +<?php echo $GLOBALS['strAccessDenied']; ?> + + + + +

+
+

+
+
+