diff options
author | 53hornet <atc@53hor.net> | 2021-12-11 11:26:18 -0500 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-12-11 11:26:18 -0500 |
commit | 00d6a7d10f6267e437b330aa99df091bfc7c67b6 (patch) | |
tree | b3ffb8fc4f09933ebc8ed9c90f03412250199dd8 /assets/cv.php | |
parent | de9bbfdb8f0d3b366e76a5cc775690f7315c740f (diff) | |
download | 53hor-routing.tar.xz 53hor-routing.zip |
chore: organize pages and use router/renderer, organize assetsrouting
Diffstat (limited to 'assets/cv.php')
-rw-r--r-- | assets/cv.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/cv.php b/assets/cv.php new file mode 100644 index 0000000..c9255a8 --- /dev/null +++ b/assets/cv.php @@ -0,0 +1,5 @@ +<?php +header('content-type: application/pdf'); +header('content-disposition: attachment; filename=adam-carpenter-cv.pdf'); +exec('/usr/local/bin/mutool convert -F pdf -o /tmp/cv.pdf cv.html'); +passthru('/bin/cat /tmp/cv.pdf'); |