Home  >  Article  >  php教程  >  发现TP3.1的一个BUG

发现TP3.1的一个BUG

WBOY
WBOYOriginal
2016-06-07 11:45:521108browse

可能是发布的时候写漏,autoCharset()函数发现TP3.1的一个BUG
之前的版本没有出现这问题,
最近用了新版,刚开始用得还不错,用着用着,发现上传功能不OK啊!

排错才发现,原来一个函数的问题,就是在uploadFile.class.php的save()函数里调用了autoCharset()函数,BUT新版3.1的common文件夹里面的functions.php里面 木有 该函数,故想用的话,从之前的版本Copy 进去即可!

以上是本人拙见,望大家多多指教。

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn