The source for Zend_Loader#isReadable() is fairly straight-forward. It
wouldn't be too difficult to extend the class and add your own method which
returns the absolute path of the provided relative path:

http://pastie.org/1323290

Note: the code above was not tested, but is meant as an example.

--
*Hector Virgen*
Sr. Web Developer
http://www.virgentech.com



On Wed, Nov 24, 2010 at 7:50 AM, benoit <[email protected]> wrote:

>
> Ok, i choose the solution with de file_get_contents, didn't know that it
> use
> include_path with its second parameter to true.
>
> But I think it could be usefull to get the path tested by the
> Zend_Loader::isReadable ;)
>
> Thanks a lot.
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/Zend-Loader-isReadable-need-to-get-the-path-tested-tp3054202p3057544.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>

Reply via email to