WordPress.org

Make WordPress Core

Changeset 4154


Ignore:
Timestamp:
09/01/2006 06:47:47 PM (13 years ago)
Author:
ryan
Message:

Allow pluggable wp-db. #2721

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r4144 r4154  
    7070
    7171define('WPINC', 'wp-includes');
    72 require_once (ABSPATH . WPINC . '/wp-db.php');
     72if ( file_exists(ABSPATH . 'wp-content/wp-db.php') )
     73    require (ABSPATH . 'wp-content/wp-db.php');
     74else
     75    require_once (ABSPATH . WPINC . '/wp-db.php');
    7376
    7477// Table names
Note: See TracChangeset for help on using the changeset viewer.