Re: [PHPTAL] issue with variable defined in a full page macro

2011-05-15 Thread Fernando Martins
Kornel LesiƄski wrote: I've meant using callback (macro called from macro) instead of slots. e.g. your code modified to use callbacks: ok, thanks, I get it but I find the architecture I have more intuitive/simpler. If you have certain variables on all pages, why not si

[PHPTAL] Compiled code sending SPAM?!?

2011-05-15 Thread Marco Afonso
Hi, Thanks for your tips, I just changed the destination for php files and now it seems that the antivirus doesn't complain any more... What about naming the templates starting with "phptal_" instead of "tpl_" ? This could give an hint to user that that file was created by phptal... Cheers and

Re: [PHPTAL] Compiled code sending SPAM?!?

2011-05-15 Thread Marco Pivetta
As Tjerk said, try to move those files elsewhere :) Disabling caching is suicide... It will cause too much overhead, even for small websites (and if you're on a shared hosting you'll probably front the "cpu limit" trouble). Try setting the cache somewhere else through $engine->setPhpCodeDestination