mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-15 20:48:00 +00:00
no need to unlink since we renamed the tempfile. fixes #23
This commit is contained in:
@@ -142,7 +142,7 @@ class PictshareModel extends Model
|
||||
fclose($fptemp);
|
||||
unlink($csv);
|
||||
rename($tmpname, $csv);
|
||||
unlink($tmpname);
|
||||
//unlink($tmpname);
|
||||
|
||||
//delete actual image
|
||||
$base_path = ROOT.DS.'upload'.DS.$hash.DS;
|
||||
|
||||
Reference in New Issue
Block a user