Add makefile and versioning

This commit is contained in:
John Alanbrook 2023-04-14 16:03:19 +00:00
parent 7905c2264b
commit aeed22a417
2 changed files with 5 additions and 1 deletions

3
Makefile Normal file
View file

@ -0,0 +1,3 @@
install:
@echo Installing into $(DESTDIR)
@cp router.php parsedown.php $(DESTDIR)

View file

@ -1,5 +1,7 @@
<?php <?php
/* Aquinas v. 0.1 */
require "parsedown.php"; require "parsedown.php";
$tryuri = ltrim("$_SERVER[REQUEST_URI]", '/'); $tryuri = ltrim("$_SERVER[REQUEST_URI]", '/');
@ -297,4 +299,3 @@ function make_bkgd_img($src, $opts = "", $q=80) {
?> ?>