mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-17 05:28:01 +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);
|
fclose($fptemp);
|
||||||
unlink($csv);
|
unlink($csv);
|
||||||
rename($tmpname, $csv);
|
rename($tmpname, $csv);
|
||||||
unlink($tmpname);
|
//unlink($tmpname);
|
||||||
|
|
||||||
//delete actual image
|
//delete actual image
|
||||||
$base_path = ROOT.DS.'upload'.DS.$hash.DS;
|
$base_path = ROOT.DS.'upload'.DS.$hash.DS;
|
||||||
|
|||||||
Reference in New Issue
Block a user