Em 29 Dec 2002 09:54:28 -0600
Carlos Kassab <[EMAIL PROTECTED]> escreveu:

> Hi:
> 
> 
> Do you know how to load a file with execute from a different directory
> tree?
> 
> i have a folder modules/Recommend/recommend.epl
> 
> and other folder includes/subs.epl
> 
> folders subs and modules are at the same level.
> 
> 
> if i try to load subs.epl from recommend.epl
> 
> I get the message :
> 
> 
> [2507]ERR: 30: recommend.epl(20): Not found includes/subs.epl
> 
> Do you know how can i load the file subs.epl without copy it to
> modules/Recommend?

Hi,

You can pass relative paths to  Execute, like '../some/other/page.epl'.
If you are using EmbperlObject you can use the following directive in
your httpd.conf to add the directories you want to be searched:

PerlSetEnv EMBPERL_OBJECT_ADDPATH path1;path2;path3

Regards,

Luiz Fernando B. Ribeiro
Engenho Solu��es para a Internet



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to