Skip to content

Commit

Permalink
psdファイルのアップロード処理が二重になっていたのを修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
satopian committed Jun 3, 2022
1 parent 33821b5 commit 3696dd5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion petitnote/saveklecks.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@

$success = TRUE;
$success = move_uploaded_file($_FILES['picture']['tmp_name'], TEMP_DIR.$imgfile.'.png');
$success = $success && move_uploaded_file($_FILES['psd']['tmp_name'], TEMP_DIR.$imgfile.'.psd');

if (!$success) {
die("Couldn't move uploaded files");
Expand Down

0 comments on commit 3696dd5

Please sign in to comment.