Re: [SMARTY-DEV] smarty recompiling with op-code accelerators
[email protected] (Robert Amos)
| Newsgroups | php.smarty.dev |
|---|---|
| Message-ID | <6.1.1.1.2.20040709021003.01c99418@lexx> |
> > IMHO, the compiled Smarty files should get a new timestamp, not the same > > one as the originating template file. If you dump template files from > > another server, it should be operational procedure to touch them to be > > sure Smarty picks up the changes. > >this would mean we should remove the touch()-call in >core.wrtie_file.php? i have no problem with that. I'll agree with that, if the template is changed its mtime will still be more recent than the compiled version, so it will recompile. That should fix the accelerator problem also right? since the compiled template assumes the compiled time, it will be different than the templates you just cleared.. -bok