RE: [SMARTY] using smarty across many projects
| From: | Hoffman, Geoffrey | Date: | Wed, 15 Jan 2003 14:06:14 +0000 |
| Subject: | RE: [SMARTY] using smarty across many projects | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7184@lists.php.net to get a copy of this message | ||
I think your situation is one of the main reasons for the example 'extended
setup' --http://smarty.php.net/manual/en/installing.smarty.extended.php...
make each app a separate class that extends smarty, each with its own set of
directories...
you could do something like:
/home/smarty/templates/app1
/home/smarty/templates/app2
or
/home/smarty/app1/templates
/home/smarty/app2/templates
HTH-
Geoff
JE> do i need a separate group of dirs (template_c, config,
JE> cache etc)
JE> for each site? will it keep all the index.php templates separate for
JE> the different sites?