summaryrefslogblamecommitdiff
path: root/assets/cv.php
blob: c9255a87ecae64bb67bd0edbda1e20b47bb190b7 (plain) (tree)
1
2
3
4
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');