diff options
-rw-r--r-- | cv.php | 4 | ||||
-rwxr-xr-x | cv.sh | 6 | ||||
-rw-r--r-- | hire.php | 2 |
3 files changed, 5 insertions, 7 deletions
@@ -0,0 +1,4 @@ +<?php +header('content-type: application/pdf'); +exec('/usr/local/bin/mutool convert -F pdf -o /tmp/cv.pdf cv.html'); +passthru('/bin/cat /tmp/cv.pdf'); @@ -1,6 +0,0 @@ -#!/bin/sh - -# Converts CV to downloadable PDF. - -printf 'content-type: application/pdf\n\n' -mutool convert -F pdf cv.html @@ -31,7 +31,7 @@ include('./includes/head.php'); <p> - Below is my CV and other related professional history. You may also <a href="/cgi-bin/cv.sh">download my CV as a PDF</a>. + Below is my CV and other related professional history. You may also <a href="/cv.sh">download my CV as a PDF</a>. </p> <hr /> |