[php-maint] smarty template dir

Thijs Kinkhorst thijs at debian.org
Wed Nov 12 11:03:30 UTC 2008


On Wed, November 12, 2008 11:16, Björn Boschman wrote:
> should a smarty template compile dir be under
> /usr/share/<webapp>/whatever/templates_c or should it be a folder below
> /var/lib/<webapp>/?

The FHS specifies that /usr should be read-only, so /var is more
appropriate. Because it's just cached data (it will be automatically
regenerated if it would be completely lost), /var/cache/<webapp> is more
appropriate.

I advise you to read the FHS specification which is in general quite clear
on this topic.


cheers,
Thijs




More information about the pkg-php-maint mailing list