引用类型,构建路径中没有的内容
经过大量的设置、测试、学习,我确实在 zend studio 8 中设置了一个新的 PHP 项目。
一切都很好,直到我导入了 phpmailer 和 mpdf5.1 库。 这些库给了我很多我不想要的警告。
因为这些是供应商,所以我只是将其设置为不包含在构建路径中。 警告消失了:太棒了!
但是,从这一点开始,当我尝试执行 new $mail = new PHPMailer(); 时zend studio 给我一个警告:
编辑开始(格式化信息)
Description: Class 'PHPMailer' not found
Resource: mails.class.php
Path: /Fmcss Core/classes
Location: line 633
Type: DLTK Problem
编辑结束
这是合乎逻辑的,因为它不在构建路径中。这是我网站的一部分,但我不希望它警告我。
那么有没有一种方法可以达到涅槃,我可以排除要验证的目录,但包含在我的构建路径中?
After a lot of setting, testing, learning, i did set up a new PHP Project in zend studio 8.
everything is fine, until i imported the phpmailer and mpdf5.1 libs.
These libs drop me a lot of warnigs what i do not want.
Becuase these are vendors, i just set it to not including in build path.
The warning are gone: Great!
But, from this point, when i try to do a new $mail = new PHPMailer(); zend studio drop me a warning:
EDIT START (formating info)
Description: Class 'PHPMailer' not found
Resource: mails.class.php
Path: /Fmcss Core/classes
Location: line 633
Type: DLTK Problem
EDIT END
It's logical, because it's not in build path. This is a part of my website, but i do not want it to warn me.
So is there a way to reach that nirvana, where i can exlude a directory to validate, but include in my build path?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试将其添加为库而不是源文件夹。
Try adding it as a Library instead of a Source folder.