-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
31 lines (27 loc) · 864 Bytes
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
// Set Base Path
$bodyID = $_SERVER["SCRIPT_NAME"];
// $file is set to "index"
$file = basename($bodyID, ".php");
// Adds class to nav items when you're on a given page
function nav_function($body_id) {
// change scope of file so it can be used inside this function.
global $file;
if($file == $body_id) {
print 'class="active"';
}
}
// Student Data
$studentName = "Chase Briley";
$copyright = $studentName;
$studentPhone = "860-232-8250";
$studentSchool = "Capital Preparatory Magnet School";
$schoolCity = "Hartford";
$schoolState = "CT";
$postalCode = "12345";
$clientEmailAddress = "[email protected]";
$clientWebAddress = "http://www.chasethekicker.com";
// Web design firm data
$authorWebAddress = "http://www.joshuabriley.com";
include ('includes/seo-config.php')
?>