For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > October 2006 > Configuration









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Configuration
Urb LeJeune

2006-10-06, 7:03 pm

I would like to accomplish the following:

1. Have Smarty always look in path /home/e-gov/htdocs/templates for templates.
That works fine if I hard code the path in the display() function.

2. Have Smarty always look in the that

/home/e-gov/htdocs/tempates_c or
/home/e-gov/htdocs/templates/templates_

Can this be done?

Thanks

Urb
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com