Make WordPress Core

Changeset 6017


Ignore:
Timestamp:
09/03/2007 04:17:10 PM (17 years ago)
Author:
westi
Message:

Switch to require_once for wp-includes/db.php when it exists. Fixes #4597 props intoxination.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r6009 r6017  
    112112    define('PLUGINDIR', 'wp-content/plugins'); // no leading slash, no trailing slash
    113113if ( file_exists(ABSPATH . 'wp-content/db.php') )
    114     require (ABSPATH . 'wp-content/db.php');
     114    require_once (ABSPATH . 'wp-content/db.php');
    115115else
    116116    require_once (ABSPATH . WPINC . '/wp-db.php');
Note: See TracChangeset for help on using the changeset viewer.