account for moved file in last commit
authorpaul <paul@plutz.net>
Mon, 11 Apr 2016 17:38:47 +0000 (17:38 +0000)
committerpaul <paul@plutz.net>
Mon, 11 Apr 2016 17:38:47 +0000 (17:38 +0000)
svn path=/trunk/; revision=99

actions/update_therapy.sh
pages/therapy.sh

index e7dcae2..6ba06cb 100755 (executable)
@@ -43,7 +43,7 @@ if [ -n "$_POST[delete_session]" ]; then
 elif [ -n "$_POST[new_session]" ]; then
   sid="$_POST[new_session]"
 
-  identify "$_EXEC/templates/therapy_background.png" \
+  identify "$_EXEC/static/therapy_background.png" \
   | sed -r 's;^.* ([0-9]+x[0-9]+) .*$;\1;' \
   | read dim
 
index ee9804b..de8ca8b 100755 (executable)
@@ -29,7 +29,7 @@ tpyfile="$_DATA/therapies/$id"
 mpxfile="$_DATA/prescriptions/${id%.tpy}.mpx"
 client="$_DATA/vcard/${id%%.*}.vcf"
 
-identify "$_EXEC/templates/therapy_background.png" \
+identify "$_EXEC/static/therapy_background.png" \
 | sed -r 's;^.* ([0-9]+x[0-9]+) .*$;\1;' \
 | read bg_dim