summaryrefslogtreecommitdiff
path: root/cv.php
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-09-12 18:12:54 -0400
committer53hornet <atc@53hor.net>2021-09-12 18:12:54 -0400
commit7645795417a40d9545c2d2266600b99aa843d3de (patch)
tree01e23153e322704fa92f69d4a915b8b267e4ff6f /cv.php
parent6ed47e694b69c79a1959074bde749c0f4029d14a (diff)
download53hor-7645795417a40d9545c2d2266600b99aa843d3de.tar.xz
53hor-7645795417a40d9545c2d2266600b99aa843d3de.zip
feat: php script for mutool convert
Diffstat (limited to 'cv.php')
-rw-r--r--cv.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/cv.php b/cv.php
new file mode 100644
index 0000000..53ffaff
--- /dev/null
+++ b/cv.php
@@ -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');