WordPress.org

Make WordPress Core

Changeset 5313


Ignore:
Timestamp:
04/25/07 04:41:12 (11 years ago)
Author:
rob1n
Message:

Require once only. Props masquerade. fixes #4192

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r5308 r5313  
    124124 
    125125if ( file_exists(ABSPATH . 'wp-content/object-cache.php') ) 
    126     require (ABSPATH . 'wp-content/object-cache.php'); 
     126    require_once (ABSPATH . 'wp-content/object-cache.php'); 
    127127else 
    128     require (ABSPATH . WPINC . '/cache.php'); 
     128    require_once (ABSPATH . WPINC . '/cache.php'); 
    129129 
    130130wp_cache_init(); 
Note: See TracChangeset for help on using the changeset viewer.