Changeset 2967 for trunk/wp-admin/image-uploading.php
- Timestamp:
- 10/28/2005 01:12:54 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/image-uploading.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/image-uploading.php
r2958 r2967 111 111 if ( false === move_uploaded_file($_FILES['image']['tmp_name'], $file) ) 112 112 die('The uploaded file could not be moved to $file.'); 113 chmod($file, 0 775);113 chmod($file, 0666); // FIXME: Need to set this according to rw bits on parent dir. 114 114 115 115 // Compute the URL
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)