mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Issue 1535 fixed a bug of missing file extension on importer
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10285 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c1cc5b81c0
commit
fe180bc1c9
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
**/
|
||||
|
||||
@set_time_limit(0);
|
||||
@require_once('./modules/importer/extract.class.php');
|
||||
require_once('./modules/importer/extract.class.php');
|
||||
|
||||
class importerAdminController extends importer {
|
||||
|
||||
|
|
@ -925,7 +925,7 @@
|
|||
|
||||
$path = sprintf("./files/attach/images/%s/%s", $module_srl, getNumberingPath($upload_target_srl, 3));
|
||||
|
||||
$ext = substr(strrchr($file_info['name'],'.'),1);
|
||||
$ext = substr(strrchr($file_obj->source_filename,'.'),1);
|
||||
$_filename = md5(crypt(rand(1000000, 900000), rand(0, 100))).'.'.$ext;
|
||||
$filename = $path.$_filename;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue