Inital commit
This commit is contained in:
13
includes/functions.php
Normal file
13
includes/functions.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
function includeHeader(string $pageTitle, string $pageDescription, string $currentPage = 'home'): void
|
||||
{
|
||||
include __DIR__ . '/header.php';
|
||||
}
|
||||
|
||||
function includeFooter(): void
|
||||
{
|
||||
include __DIR__ . '/footer.php';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user