浏览模式: 普通 | 列表
11月, 2009 | 1
引用
1、打开“路径/phpmyadmin/libraries/config.default.php”,查找相关项并修改为以下内容:
$cfg['Servers'][$i]['host'] = $_COOKIE["mysqlhost"];
$cfg['Servers'][$i]['port'] = $_COOKIE["mysqlport"];
$cfg['Servers'][$i]['auth_type'] = 'cookie';

$cfg['blowfish_secret'] = 'sina';//这里的sina是用来加密cookie的密钥
引用
2、打开“路径/phpmyadmin/index.php”,在文件最开头 if($_POST["mysqlhost"] != "" && $_POST["mysqlport"] != "")
...

阅读全文…
1