找到源文件thinkphplibrarythinkFile.php
在构造函数内加个判断
if(file_exists($filename))
public function __construct($filename, $mode = 'r')
{
if(file_exists($filename)){
parent::__construct($filename, $mode);
$this->filename = $this->getRealPath() ?: $this->getPathname();
}
}
有问题可在下方留言讨论,或者邮箱联系我,邮箱地址在网站下方。
转载无需和我联系,但请注明来自木点点博客http://www.tu-do.cn/
最新评论