recovered Core::config() function. added charset in lib/mysql.php.