Changeset 3436
- Timestamp:
- 01/14/2006 09:22:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cache.php
r3435 r3436 397 397 return; 398 398 399 // Disable the persistent cache if safe_mode is on. 400 if ( ini_get('safe_mode') ) 401 return; 402 399 403 if (defined('CACHE_PATH')) 400 404 $this->cache_dir = CACHE_PATH; … … 404 408 if (is_writable($this->cache_dir) && is_dir($this->cache_dir)) { 405 409 $this->cache_enabled = true; 406 } else 410 } else { 407 411 if (is_writable(ABSPATH.'wp-content')) { 408 412 $this->cache_enabled = true; 409 413 } 414 } 410 415 411 416 if (defined('CACHE_EXPIRATION_TIME'))
Note: See TracChangeset
for help on using the changeset viewer.