Cheetah's #include base directory

Pablo Antonio <[email protected]> Tue, 29 Dec 2009 06:20:34 -0300
Newsgroups gmane.comp.python.cheetah
Message-ID <[email protected]>
Hello,
    this is my first day with Cheetah. I have an old app which uses
the web.py framework and Cheetah for templating.

Thing is some files have an '#include "<file>"' at the top. They usually
include some header with the DOCTYPE and a title and that's pretty much
it. Well, the problem is this <file> is being searched in the current
directory the app is located, and not in the ./templates/ dir which is
where the templates are.

How can I fix this? Is this different in newer versions? I'm using 2.0.1
(the newest in Ubuntu's repositories).

Thanks in advance,

-- 
Pablo Antonio (AKA crazy2k)
http://www.pablo-a.com.ar/

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev