2008年12月16日星期二

Re: [fw-mvc] Action Controllers extending custom one and include path in version 1.7.1

-- iosonogio <iosonogio99@yahoo.com> wrote
(on Tuesday, 16 December 2008, 05:09 AM -0800):
> > Honestly? BaseAction.php in your controllers directory should never have
> > been found during autoloading unless you had '.' on your include path.
> > Is it possible that changed?
>
> it may be, I will check.
>
> By the way, is it a best practice to include '.' into the onclude path, or
> better not ?

Typically not, but if you do, it should be towards the end of the
include_path, so that your library code is matched as soon as possible.

--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/

没有评论: