Changeset 22980
- Timestamp:
- 12/03/2012 02:54:29 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/network.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/network.php
r22042 r22980 317 317 $rewrite_base = ! empty( $wp_siteurl_subdir ) ? ltrim( trailingslashit( $wp_siteurl_subdir ), '/' ) : ''; 318 318 319 $location_of_wp_config = ABSPATH; 320 if ( ! file_exists( ABSPATH . 'wp-config.php' ) && file_exists( dirname( ABSPATH ) . '/wp-config.php' ) ) 321 $location_of_wp_config = trailingslashit( dirname( ABSPATH ) ); 322 319 323 // Wildcard DNS message. 320 324 if ( is_wp_error( $errors ) ) … … 361 365 ?> 362 366 <ol> 363 <li><p><?php printf( __( 'Add the following to your <code>wp-config.php</code> file in <code>%s</code> <strong>above</strong> the line reading <code>/* That’s all, stop editing! Happy blogging. */</code>:' ), ABSPATH); ?></p>367 <li><p><?php printf( __( 'Add the following to your <code>wp-config.php</code> file in <code>%s</code> <strong>above</strong> the line reading <code>/* That’s all, stop editing! Happy blogging. */</code>:' ), $location_of_wp_config ); ?></p> 364 368 <textarea class="code" readonly="readonly" cols="100" rows="6"> 365 369 define('MULTISITE', true);
Note: See TracChangeset
for help on using the changeset viewer.