Skip to content

Commit

Permalink
Update files
Browse files Browse the repository at this point in the history
  • Loading branch information
ilker-aktuna authored Sep 19, 2021
1 parent a985550 commit c2773a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SD-card-root-V2/mods/www/cgi-bin/files
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ echo -n "Content-Disposition: inline; filename=\""
echo -n `basename $thumbnail`
echo "\""
echo
$JHEAD -st - "/sdcard/DCIM/*PHOTO/$thumbnail"
$JHEAD -st - /sdcard/DCIM/*PHOTO/$thumbnail
exit 0
fi

Expand All @@ -44,12 +44,12 @@ echo -n "Content-Disposition: inline; filename=\""
echo -n `basename $dl`
echo "\""
echo
cat "/sdcard/DCIM/*PHOTO/$dl"
cat /sdcard/DCIM/*PHOTO/$dl
exit 0
fi

if [[ $delete ]]; then
rm "/sdcard/DCIM/*PHOTO/$delete"
rm /sdcard/DCIM/*PHOTO/$delete
fi

filecount=`ls -alt /sdcard/DCIM/*PHOTO | grep "_" | wc -l`
Expand Down

0 comments on commit c2773a6

Please sign in to comment.