Worked out a class to easily include subpages/content and put the footer in a function

This commit is contained in:
2014-06-28 15:13:12 +02:00
parent d5077b085a
commit 2f5b8734c4
7 changed files with 122 additions and 21 deletions

8
includes/miscfunc.php Normal file
View File

@@ -0,0 +1,8 @@
<?php
function terminate($message="")
{
print "$message\n";
footer();
exit(1);
}
?>