Heim  >  Artikel  >  php教程  >  发现TP3.1的一个BUG

发现TP3.1的一个BUG

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

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

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

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

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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn