mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
use /tmp for tempnam()
This commit is contained in:
parent
46dc4ea6e3
commit
20f28bb7df
|
@ -256,7 +256,7 @@ if($settings->_libraryFolder) {
|
|||
if($clonedoc = $dms->getDocument($_POST["librarydoc"])) {
|
||||
if($content = $clonedoc->getLatestContent()) {
|
||||
$docsource = 'library';
|
||||
$fullfile = tempnam('', '');
|
||||
$fullfile = tempnam('/tmp', '');
|
||||
if(SeedDMS_Core_File::copyFile($dms->contentDir . $content->getPath(), $fullfile)) {
|
||||
/* Check if a local file is uploaded as well */
|
||||
if(isset($_FILES["userfile"]['error'][0])) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user