Changeset 12405 for trunk/wp-admin/includes/schema.php
- Timestamp:
- 12/15/2009 05:53:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/schema.php
r12329 r12405 190 190 191 191 if ( ini_get('safe_mode') ) { 192 // Safe mode screws up mkdir(), so we must use a flat structure.192 // Safe mode can break mkdir() so use a flat structure by default. 193 193 $uploads_use_yearmonth_folders = 0; 194 $upload_path = WP_CONTENT_DIR;195 194 } else { 196 195 $uploads_use_yearmonth_folders = 1; 197 $upload_path = WP_CONTENT_DIR . '/uploads';198 196 } 199 197 … … 266 264 // 2.0.1 267 265 'uploads_use_yearmonth_folders' => $uploads_use_yearmonth_folders, 268 'upload_path' => $upload_path,266 'upload_path' => '', 269 267 270 268 // 2.0.3
Note: See TracChangeset
for help on using the changeset viewer.