diff options
author | Thedro Neely <thedroneely@gmail.com> | 2023-06-05 18:03:11 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2023-06-05 18:03:11 -0400 |
commit | 1cb3e3c866bbf16f020ed37080d4f3590f90806b (patch) | |
tree | d898008377697f5aa2b3f40683894bbb6a1fa759 /bootstrap/Bootstrap.php | |
parent | 988eb9b2c6b560c4fa732c6fc18a8eb23e6422a9 (diff) | |
download | thedroneely.com-1cb3e3c866bbf16f020ed37080d4f3590f90806b.tar.gz thedroneely.com-1cb3e3c866bbf16f020ed37080d4f3590f90806b.tar.bz2 thedroneely.com-1cb3e3c866bbf16f020ed37080d4f3590f90806b.zip |
bootstrap/Bootstrap: Clean up
Diffstat (limited to 'bootstrap/Bootstrap.php')
-rw-r--r-- | bootstrap/Bootstrap.php | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/bootstrap/Bootstrap.php b/bootstrap/Bootstrap.php index 4e10f48..28b4371 100644 --- a/bootstrap/Bootstrap.php +++ b/bootstrap/Bootstrap.php @@ -1,25 +1,13 @@ <?php -/* composer autoload */ require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/vendor/autoload.php'; - -/* source helper functions */ require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/bootstrap/Helpers.php'; -/* source config file */ $config = include $_SERVER['DOCUMENT_ROOT'] . '/..' . '/config.php'; -/* connect database */ $contact['database'] = new QueryBuilder(Connection::make($config['database'])); -/* create new router */ -$router = new Router; - -/* create navigator */ -$navigation = new Navigation(); +$navigation = new Navigation; -/* create new theme */ $theme = new Theme; - -/* enable dark and light themes */ $theme->toggle(); |