projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86d4261
)
check before deleting temp files
author
Alan Knowles
<alan@roojs.com>
Wed, 15 Apr 2020 03:55:44 +0000
(11:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 15 Apr 2020 03:55:44 +0000
(11:55 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
a999995
..
e421451
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-400,7
+400,9
@@
class Pman extends HTML_FlexyFramework_Page
{
foreach(self::$deleteOnExit as $fn) {
- unlink($fn);
+ if (file_exists($fn)) {
+ unlink($fn);
+ }
}
}