| 1019 |
if (module_exists('token')) { |
if (module_exists('token')) { |
| 1020 |
$filefield_path = token_replace($filefield_path, 'user', $account); |
$filefield_path = token_replace($filefield_path, 'user', $account); |
| 1021 |
} |
} |
| 1022 |
|
$output_directory = file_directory_path() .'/'. $filefield_path; |
| 1023 |
|
file_check_directory($output_directory, TRUE); |
| 1024 |
$newfile->filepath = file_directory_path() .'/'. $filefield_path .'/'. $newfile->filename; |
$newfile->filepath = file_directory_path() .'/'. $filefield_path .'/'. $newfile->filename; |
| 1025 |
} |
} |
| 1026 |
|
|