Make WordPress Core


Ignore:
Timestamp:
02/05/2009 08:46:39 PM (18 years ago)
Author:
ryan
Message:

HTTP API updates and fixes. Props sivel. see #8702

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r10443 r10507  
    258258        wp_die(/*WP_I18N_BAD_PREFIX*/'<strong>ERROR</strong>: <code>$table_prefix</code> in <code>wp-config.php</code> can only contain numbers, letters, and underscores.'/*/WP_I18N_BAD_PREFIX*/);
    259259
    260 if ( file_exists(WP_CONTENT_DIR . '/object-cache.php') )
     260if ( file_exists(WP_CONTENT_DIR . '/object-cache.php') ) {
    261261        require_once (WP_CONTENT_DIR . '/object-cache.php');
    262 else
     262        $_wp_using_ext_object_cache = true;
     263} else {
    263264        require_once (ABSPATH . WPINC . '/cache.php');
     265        $_wp_using_ext_object_cache = false;
     266}
    264267
    265268wp_cache_init();
Note: See TracChangeset for help on using the changeset viewer.