From 56acb516176a5030d8043510f735537448b6dad1 Mon Sep 17 00:00:00 2001 From: Robin Johnson Date: Sat, 5 May 2001 22:11:31 +0000 Subject: [PATCH] Some functions discussed on patch #419826 added. --- ChangeLog | 3 +++ config.inc.php3 | 26 ++++++++++++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index e78d96dfe..d67ffaf54 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2001-05-05 Robin Johnson + * Some functions discussed on patch #419826 added. + 2001-05-04 Loïc Chapeaux * grab_globals.inc.php3 handles now the $HTTP_POST_FILES array * db_readdump.php3, line 24: added a trick to enforce reloading of the left diff --git a/config.inc.php3 b/config.inc.php3 index 23fe4bcf8..6a3360490 100755 --- a/config.inc.php3 +++ b/config.inc.php3 @@ -8,12 +8,12 @@ // The $cfgServers array starts with $cfgServers[1]. Do not use $cfgServers[0]. // You can disable a server config entry by setting host to ''. -$cfgServers[1]['host'] = 'mysql.sourceforge.net'; // MySQL hostname +$cfgServers[1]['host'] = 'localhost'; // MySQL hostname $cfgServers[1]['port'] = ''; // MySQL port - leave blank for default port $cfgServers[1]['adv_auth'] = false; // Use advanced authentication? $cfgServers[1]['stduser'] = ''; // MySQL standard user (only needed with advanced auth) $cfgServers[1]['stdpass'] = ''; // MySQL standard password (only needed with advanced auth) -$cfgServers[1]['user'] = 'phpmyadmin'; // MySQL user (only needed with basic auth) +$cfgServers[1]['user'] = 'phpMyAdmin'; // MySQL user (only needed with basic auth) $cfgServers[1]['password'] = 'test99'; // MySQL password (only needed with basic auth) $cfgServers[1]['only_db'] = 'phpMyAdmin'; // If set to a db-name, only this db is accessible $cfgServers[1]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname @@ -99,23 +99,33 @@ $cfgColumnTypes = array( "ENUM", "SET"); +//Some functions discussed on patch #419826 added. - 05/May/2001 - Robbat2 $cfgFunctions = array( "ASCII", "CHAR", "SOUNDEX", - "CURDATE", - "CURTIME", "ENCRYPT", - "FROM_DAYS", - "FROM_UNIXTIME", + "LCASE", + "UCASE", "NOW", "PASSWORD", + "ENCODE", + "DECODE", + "MD5", + "RAND", + "LAST_INSERT_ID", + "COUNT", + "AVG", + "SUM", + "CURDATE", + "CURTIME", + "FROM_DAYS", + "FROM_UNIXTIME", "PERIOD_ADD", "PERIOD_DIFF", "TO_DAYS", "USER", - "WEEKDAY", - "RAND"); + "WEEKDAY"); $cfgAttributeTypes = array( "",