projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aa0382
)
DataObjects/Images.php
author
Edward
<edward@roojs.com>
Wed, 26 Jun 2013 11:35:53 +0000
(19:35 +0800)
committer
Edward
<edward@roojs.com>
Wed, 26 Jun 2013 11:35:53 +0000
(19:35 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
7415567
..
6279e0c
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-58,10
+58,8
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
{
if (isset($q['_remote_upload'])) {
require_once 'System.php';
- static $tmpdir = false;
- if (!$tmpdir) {
- $tmpdir = System::mktemp("-d remote_upload");
- }
+
+ $tmpdir = System::mktemp("-d remote_upload");
$path = $tmpdir . '/' . basename($q['_remote_upload']);