(on Wednesday, 03 December 2008, 07:09 AM -0800):
> That's another solution, thanks. Why not remove the hurdle, though, such as
> per my ini_set('include_path',...) suggestion? It appears there's a base
> script per ZF library in which that can be cleanly done.
It makes zero sense to do that in ZF, as it would need to be done in
each and every class file, adding overhead and creating a maintenance
nightmare. Additionally, when using symlinks, this gets problematic.
It's much, much better to set the include_path in the code consuming the
library.
> Ralph Schindler-2 wrote:
> > Why don't you simply have ZF in your include_path? Is there a
> > compelling reason for it to NOT be in there?
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论