@@ 1141-1146 (lines=6) @@ | ||
1138 | ||
1139 | $file_obj->direct_download = 'Y'; |
|
1140 | } |
|
1141 | else |
|
1142 | { |
|
1143 | $path = sprintf("./files/attach/binaries/%s/%s", $module_srl, getNumberingPath($upload_target_srl,3)); |
|
1144 | $filename = $path.$random->createSecureSalt(32, 'hex'); |
|
1145 | $file_obj->direct_download = 'N'; |
|
1146 | } |
|
1147 | // Create a directory |
|
1148 | if(!FileHandler::makeDir($path)) continue; |
|
1149 |
@@ 751-756 (lines=6) @@ | ||
748 | } |
|
749 | $direct_download = 'Y'; |
|
750 | } |
|
751 | else |
|
752 | { |
|
753 | $path = sprintf("./files/attach/binaries/%s/%s", $module_srl, getNumberingPath($upload_target_srl,3)); |
|
754 | $filename = $path.$random->createSecureSalt(32, 'hex'); |
|
755 | $direct_download = 'N'; |
|
756 | } |
|
757 | // Create a directory |
|
758 | if(!FileHandler::makeDir($path)) return new BaseObject(-1,'msg_not_permitted_create'); |
|
759 |