Make WordPress Core


Ignore:
Timestamp:
05/27/2008 05:55:24 PM (18 years ago)
Author:
ryan
Message:

Allow wp-content to exist outside of webroot. Props sambauers. see #6938

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rss.php

    r6585 r7999  
    652652
    653653class RSSCache {
    654         var $BASE_CACHE = 'wp-content/cache';   // where the cache files are stored
     654        var $BASE_CACHE;        // where the cache files are stored
    655655        var $MAX_AGE    = 43200;                // when are files stale, default twelve hours
    656656        var $ERROR              = '';                   // accumulate error messages
    657657
    658658        function RSSCache ($base='', $age='') {
     659                $this->BASE_CACHE = WP_CONTENT_DIR . '/cache';
    659660                if ( $base ) {
    660661                        $this->BASE_CACHE = $base;
Note: See TracChangeset for help on using the changeset viewer.