diff options
author | 53hornet <atc@53hor.net> | 2021-09-12 18:12:54 -0400 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-09-12 18:12:54 -0400 |
commit | 7645795417a40d9545c2d2266600b99aa843d3de (patch) | |
tree | 01e23153e322704fa92f69d4a915b8b267e4ff6f /cv.php | |
parent | 6ed47e694b69c79a1959074bde749c0f4029d14a (diff) | |
download | 53hor-7645795417a40d9545c2d2266600b99aa843d3de.tar.xz 53hor-7645795417a40d9545c2d2266600b99aa843d3de.zip |
feat: php script for mutool convert
Diffstat (limited to 'cv.php')
-rw-r--r-- | cv.php | 4 |
1 files changed, 4 insertions, 0 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'); |