Changeset 13632
- Timestamp:
- 03/09/2010 06:19:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-default-constants.php
r13622 r13632 16 16 17 17 /** @since 3.0.0 */ 18 // Base uploads dir relative to ABSPATH 18 19 if ( !defined( 'UPLOADBLOGSDIR' ) ) 19 20 define( 'UPLOADBLOGSDIR', 'wp-content/blogs.dir' ); 20 21 21 22 /** @since 3.0.0 */ 22 if ( !defined( 'UPLOADS' ) ) 23 if ( !defined( 'UPLOADS' ) ) { 24 // Uploads dir relative to ABSPATH 23 25 define( 'UPLOADS', UPLOADBLOGSDIR . "/{$wpdb->blogid}/files/" ); 24 25 /** @since 3.0.0 */ 26 if ( !defined( 'BLOGUPLOADDIR' ) ) 27 define( 'BLOGUPLOADDIR', WP_CONTENT_DIR . "/blogs.dir/{$wpdb->blogid}/files/" ); 26 if ( 'wp-content/blogs.dir' == UPLOADBLOGSDIR ) 27 define( 'BLOGUPLOADDIR', WP_CONTENT_DIR . "/blogs.dir/{$wpdb->blogid}/files/" ); 28 } 28 29 } 29 30
Note: See TracChangeset
for help on using the changeset viewer.