only cache gets

This commit is contained in:
Shish 2009-08-10 11:46:47 +01:00
parent 81987f0e79
commit b1df14ca4a

View file

@ -724,7 +724,7 @@ $_cache_memcache = false;
$_cache_filename = null; $_cache_filename = null;
function _cache_active() { function _cache_active() {
return ((CACHE_MEMCACHE || CACHE_DIR) && !isset($_COOKIE["shm_session"]) && !isset($_COOKIE["shm_nocache"])); return ((CACHE_MEMCACHE || CACHE_DIR) && $_SERVER["REQUEST_METHOD"] == "GET" && !isset($_COOKIE["shm_session"]) && !isset($_COOKIE["shm_nocache"]));
} }
function _start_cache() { function _start_cache() {