directory relative to the current include calling script *last*.
More details here (2nd paragraph):
http://us2.php.net/include/
If, for example, you wanted php to check the path relative to the current
script FIRST (assuming the path did not start with a ./ or ../), then you
would want to put the "." first in your include path.
Personally, I leave the "." out, since php will resolve my
"Path/To/File.php" statements (notice I didn't say "./Path/To/File.php")
anyway.
-ralph
On 12/16/08 7:09 AM, "iosonogio" <iosonogio99@yahoo.com> wrote:
>
>> 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 ?
>
> Thank you
--
Ralph Schindler
Software Engineer | ralph.schindler@zend.com
Zend Framework | http://framework.zend.com/
1 条评论:
I really like this blog, the author is very talented at blogging! I enjoyed viewing it. Check out my internet speed test blog. Comments welcome! =)
--->Free Internet Speed Test<---
发表评论