Changeset 6384
- Timestamp:
- May 27, 2010, 9:30:03 AM (14 years ago)
- Location:
- branches/2.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/admin/include/functions_upload.inc.php
r6052 r6384 142 142 { 143 143 if (!is_dir($directory)) { 144 if (substr(PHP_OS, 0, 3) == 'WIN') 145 { 146 $directory = str_replace('/', DIRECTORY_SEPARATOR, $directory); 147 } 144 148 umask(0000); 145 149 $recursive = true; -
branches/2.1/include/functions.inc.php
r6356 r6384 169 169 if ( !is_dir($dir) ) 170 170 { 171 if (substr(PHP_OS, 0, 3) == 'WIN') 172 { 173 $dir = str_replace('/', DIRECTORY_SEPARATOR, $dir); 174 } 171 175 $umask = umask(0); 172 176 $mkd = @mkdir($dir, 0755, ($flags&MKGETDIR_RECURSIVE) ? true:false );
Note: See TracChangeset
for help on using the changeset viewer.