From: Verdon V. <ve...@gm...> - 2007-04-09 15:29:22
|
Hi, Just a heads-up, this struck me as curious once I sorted it out... I am developing two phpws 1.x sites concurrently on different subdomains of my server. One of them is at devsite1.mydomain.com and the other is at devsite2.mydomain.com Both are using a custom theme but of the same name. I was finding that when I made a change to the theme.tpl file in one site, the other site also seemed to get the changes applied when viewed in a browser, even though the .tpl files in each site were quite different. This confused the heck out of me and after fiddling with any possible local cache, my php accelorator caches, and anything else I could think of, I found the following switch in /config/core/config.php and disabled it. define('ALLOW_CACHE_LITE', TRUE); define('ALLOW_SIGMA_CACHE', FALSE); // << this was the problem define('CACHE_LIFETIME', 3600); define('CACHE_DIRECTORY', '/tmp/'); Once I identified it, the fix was easy enough. I suppose I should just change the cache directory, but I thought it curious that it would confuse the two subdomain's cached files. I wonder what it's doing to the data cache, CACHE_LITE? rgds, verdon |