[PHPTAL] Two sites with two identically named templates on one
server?
David Schneider-Joseph
david at davidsj.com
Wed May 9 19:06:45 CEST 2007
You can do:
/* site 1's index.zpt */
define('PHPTAL_PHP_CODE_DESTINATION', '/tmp/site_1');
/* site 2's index.zpt */
define('PHPTAL_PHP_CODE_DESTINATION', '/tmp/site_2');
On May 9, 2007, at 9:09 AM, .: smilelover :. wrote:
> Hi,
> I built 2 websites using my web engine that uses PHPTAL. Both sites
> have a template called "index.zpt" and are served by one Apache,
> from two different VirtualHosts. The problem is, that PHPTAL
> assumes both index.zpt files to be one file and data in the
> template cache (in /tmp) get mixed. I have content of one site in a
> template from the other site. Is it possible to solve this by
> something else than renaming one of the templates?
>
> Thanks,
> Dan
>
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL at lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>
More information about the PHPTAL
mailing list