mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Allow pre-setting upload_target_type for each editor
This commit is contained in:
parent
fdc9e1e98d
commit
9a6524d63d
6 changed files with 27 additions and 6 deletions
|
|
@ -1042,6 +1042,12 @@ class FileController extends File
|
|||
}
|
||||
}
|
||||
|
||||
// Set upload target type
|
||||
if ($editor_sequence && isset($_SESSION['upload_info'][$editor_sequence]->upload_target_type))
|
||||
{
|
||||
$args->upload_target_type = strval($_SESSION['upload_info'][$editor_sequence]->upload_target_type);
|
||||
}
|
||||
|
||||
$oDB = DB::getInstance();
|
||||
$oDB->begin();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue