how can i retrieve the caller's path?
Posted
by fayer
on Stack Overflow
See other posts from Stack Overflow
or by fayer
Published on 2010-04-27T01:20:18Z
Indexed on
2010/04/27
1:23 UTC
Read the original article
Hit count: 205
php
in a script i call another class with:
Factory::folder();
but when i specify...
dirname(__FILE__)
...i get the library's path, not the caller's.
how can i have the caller's path?
thanks
© Stack Overflow or respective owner