Ticket #26804: load.php.2.patch
File load.php.2.patch, 572 bytes (added by , 11 years ago) |
---|
-
load.php
328 328 if ( file_exists( WP_CONTENT_DIR . '/db.php' ) ) 329 329 require_once( WP_CONTENT_DIR . '/db.php' ); 330 330 331 if ( is_dir( WP_CONTENT_DIR . '/db/' ) ) { 332 $filenames = (array) scandir( WP_CONTENT_DIR . '/db/' ); 333 foreach ( $filenames as $filename ) { 334 if ( '.' != substr( $filename, 0, 1 ) ) { 335 require_once( WP_CONTENT_DIR . '/db/' . $filename ); 336 } 337 } 338 } 339 331 340 if ( isset( $wpdb ) ) 332 341 return; 333 342