Ticket #5128: searching for db.php.patch
| File searching for db.php.patch, 598 bytes (added by ComputerGuru, 5 years ago) |
|---|
-
wp-admin/setup-config.php
160 160 define('DB_HOST', $dbhost); 161 161 162 162 // We'll fail here if the values are no good. 163 require_once('../wp-includes/wp-db.php'); 163 if ( file_exists(ABSPATH . 'wp-content/db.php') ) 164 require_once (ABSPATH . 'wp-content/db.php'); 165 else 166 require_once (ABSPATH . WPINC . '/wp-db.php'); 167 164 168 $handle = fopen('../wp-config.php', 'w'); 165 169 166 170 foreach ($configFile as $line_num => $line) {
