>
> Here's a quick observation. I was doing [- Execute ("header.html") -] it
> is much better to give it full path because the template file looks in the
> current direcoty as its root. So even [- Execute ("/header.html") -] fails
> under the /login directory because the file.html is in the / directory.
>
> [- Execute ("$docroot/header.html") -] works fine from any base file.
>

Yes, this works, but then you can't overwrite your header.html in a
subdirectory. It's better to set EMBPERL_OBJECT_STOPDIR to docroot, in this
case Embperl searches always upwards to the stopdir, regardless where it
founds the base template, so header.html without path will work again.

Gerald


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



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

Reply via email to