Posted by william on 01/09/07 16:09
On Tue, 09 Jan 2007 06:58:56 -0800, Daz wrote:
> Hi everyone.
>
> I am a little stumped at why when I try to include a file in same
> directory as the script being processed, it looks in the same directory
> as the script that included it to begin with. Is there any way I can
> get around this? Is there anyway to get the name and/or of the script
> being processed, rather than the name and/or path of the script that
> was first called?
in order to avoid that you might consider to define a var
define(FS_DIR,'/path/to/you/www/project')
just a work around
[Back to original message]
|