Re: [SMARTY] using smarty across many projects

From: Date: Wed, 15 Jan 2003 14:31:57 +0000
Subject: Re: [SMARTY] using smarty across many projects
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7185@lists.php.net to get a copy of this message
As a general rule of thumb, for each template_dir use a separate set of compile_dir, cache_dir and config_dir. We use a separate set per hostname. Example: /export/httpd/www.domain.dom/docs/ /export/httpd/www.domain.dom/logs/ /export/httpd/www.domain.dom/smarty/ /export/httpd/www.domain.dom/smarty/templates_c/ /export/httpd/www.domain.dom/smarty/templates/ /export/httpd/www.domain.dom/smarty/cache/ /export/httpd/www.domain.dom/smarty/configs/ On Tue, 2003-01-14 at 21:44, Jeff Eidsness wrote: > Hello all. This seems like a dumb question to me, but i can't seem > to find any reference anywhere (docs, faq, mailing list) about it. > (mailing list took a while over dialup ;) > > Anyhow... i have several domains/projects i want to use smarty > with... and hence my question... > > do i need a separate group of dirs (template_c, config, cache etc) > for each site? will it keep all the index.php templates separate for > the different sites? > > i'd like to make one dir with a link from each of the domains to the > same smarty/ directory to make things simple. or will this make it > tougher? > > thanks in advance :) > -- > Jeff Eidsness - CIO / Site manager > JnJ International Data, LLC - http://www.jnjid.com/ -- Monte Ohrt <monte@ispi.net>

« previous php.smarty.general (#7185) next »