aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap/Functions.php2
-rw-r--r--views/partials/header.error.php2
-rw-r--r--views/partials/header.php4
3 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap/Functions.php b/bootstrap/Functions.php
index 2308f9b..b4f0ac0 100644
--- a/bootstrap/Functions.php
+++ b/bootstrap/Functions.php
@@ -38,7 +38,7 @@ function sendMail($name, $email, $message)
}
}
-function webTitle()
+function title()
{
switch ($_SERVER['REQUEST_URI']) {
case '/feedback/':
diff --git a/views/partials/header.error.php b/views/partials/header.error.php
index 8564937..82b1597 100644
--- a/views/partials/header.error.php
+++ b/views/partials/header.error.php
@@ -1,3 +1,3 @@
-<?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/bootstrap/Functions.php'; ?>
+<?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/bootstrap/Bootstrap.php'; ?>
<?php require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/views/partials/header.php'; ?>
diff --git a/views/partials/header.php b/views/partials/header.php
index 790cbe5..87761cf 100644
--- a/views/partials/header.php
+++ b/views/partials/header.php
@@ -9,7 +9,7 @@
<meta charset="utf-8">
- <title>Edwin Mattiacci - <?php webTitle();?></title>
+ <title>Edwin Mattiacci - <?php title();?></title>
<meta name="author" content="Edwin Mattiacci">
<meta name="description" content="Edwin Mattiacci Voiceover. Narration, Trailers, Commercials, and More.">
@@ -24,6 +24,6 @@
</head>
- <body id="main">
+ <body>
<?php require 'navigator.php'; ?>