mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
NOISSUE code rearrange
This commit is contained in:
parent
b146e48ff5
commit
bc47f19615
22 changed files with 130 additions and 159 deletions
|
|
@ -160,10 +160,7 @@ if($called_position == 'before_module_proc')
|
|||
$tmp_arr = explode('/', $filename);
|
||||
$filename = array_pop($tmp_arr);
|
||||
|
||||
if(!is_dir($tmp_uploaded_path))
|
||||
{
|
||||
FileHandler::makeDir($tmp_uploaded_path);
|
||||
}
|
||||
FileHandler::makeDir($tmp_uploaded_path);
|
||||
|
||||
$target_filename = sprintf('%s%s', $tmp_uploaded_path, $filename);
|
||||
FileHandler::writeFile($target_filename, $filedata);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue