mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#18820597 : add mp4 for match
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7370 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f8fe191940
commit
03821c88fe
3 changed files with 4 additions and 4 deletions
|
|
@ -423,7 +423,7 @@
|
|||
$name = $xmlDoc->attachment->name->body;
|
||||
|
||||
// 이미지인지 기타 파일인지 체크하여 upload path 지정
|
||||
if(preg_match("/\.(jpg|jpeg|gif|png|wmv|wma|mpg|mpeg|avi|swf|flv|mp1|mp2|mp3|asf|wav|asx|mid|midi|asf|mov|moov|qt|rm|ram|ra|rmm|m4v)$/i", $file_obj->source_filename)) {
|
||||
if(preg_match("/\.(jpg|jpeg|gif|png|wmv|wma|mpg|mpeg|avi|swf|flv|mp1|mp2|mp3|mp4|asf|wav|asx|mid|midi|asf|mov|moov|qt|rm|ram|ra|rmm|m4v)$/i", $file_obj->source_filename)) {
|
||||
$path = sprintf("./files/attach/images/%s/%s", $module_srl,getNumberingPath($upload_target_srl,3));
|
||||
$filename = $path.$file_obj->source_filename;
|
||||
$file_obj->direct_download = 'Y';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue