diff options
author | Thedro Neely <thedroneely@gmail.com> | 2022-11-16 01:32:48 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2022-11-16 01:32:48 -0500 |
commit | e6d95488be4310b8bd85854c541777bb26299658 (patch) | |
tree | a77802b60cc2c87414407170fd3528f83fe20638 /model | |
parent | 0ca13d03f3bca48f1f50119bbc6887f5c0ce43ed (diff) | |
download | edwinmattiacci.com-e6d95488be4310b8bd85854c541777bb26299658.tar.gz edwinmattiacci.com-e6d95488be4310b8bd85854c541777bb26299658.tar.bz2 edwinmattiacci.com-e6d95488be4310b8bd85854c541777bb26299658.zip |
app: Cleanup dead files and organize hierarchy
Diffstat (limited to 'model')
-rw-r--r-- | model/Form.php | 9 | ||||
-rw-r--r-- | model/Navigation.php | 30 |
2 files changed, 0 insertions, 39 deletions
diff --git a/model/Form.php b/model/Form.php deleted file mode 100644 index d7cd5d9..0000000 --- a/model/Form.php +++ /dev/null @@ -1,9 +0,0 @@ -<?php - -class Form -{ - public $name; - public $email; - public $message; - public $spam; -} diff --git a/model/Navigation.php b/model/Navigation.php deleted file mode 100644 index 72ee891..0000000 --- a/model/Navigation.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php - -class Navigation -{ - public function requestContains($route) - { - if (strpos($_SERVER['REQUEST_URI'], $route) !== false) { - return true; - } - return false; - } - - public function isActiveHome() - { - if ($_SERVER['REQUEST_URI'] === '/') { - return 'link-active text-black '; - } - return; - } - - public function isActive($route) - { - if ($_SERVER['REQUEST_URI'] === $route - || $this->requestContains($route) - ) { - return 'link-active text-black '; - } - return; - } -} |