摘要:
方法一,修改phpMyAdmin/libraries/config.default.php修改配置文件前,最好先备份一下,万一改错地方了,显示不了,就郁闷了。/** * allow login to any user entered server in cookie based authentication * * @global boolean $cfg['AllowArbitraryServer'] */$cfg['AllowArbitraryServer'] = true; //默认是false,改成true修改前,服务器这个输入框是不存在的,变成true 阅读全文
摘要:
*/class Image { public $uploadImagePath = './tmp';//上传图片地址 public $cropImagePath = './tmp';//切图图片地址 public $fileExt;//允许的文件格式 public $fileSize;//字节,默认2M public function __construct() { $this->fileExt = array('.jpg','.png','.jpeg','.gif'); $this-> 阅读全文