Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引入httpful.phar产生warning #112

Open
zhujianfeng opened this issue Jul 18, 2014 · 2 comments
Open

引入httpful.phar产生warning #112

zhujianfeng opened this issue Jul 18, 2014 · 2 comments

Comments

@zhujianfeng
Copy link

我在library下新建了一个目录,将httpful.phar(https://github.com/nategood/httpful)放进去,然后写了一个包装类,可以工作,但是会产生警告,警告类似这样:
Warning: Yaf_Loader::autoload(): Failed opening script /Users/zhujianfeng/work/test/application/library/Httpful/Mime.php: No such file or directory in phar:///Users/zhujianfeng/work/test/application/library/Httpful/httpful/httpful.phar/Httpful/Bootstrap.php on line 82

这个是为什么?怎样才能让框架不报告这个警告?多谢!

@liweing
Copy link

liweing commented Aug 6, 2014

和我问题一样。。。。 求助

@Mrhyuan
Copy link

Mrhyuan commented Aug 6, 2014

yaf.use_spl_autoload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants