aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/Bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/Bootstrap.php')
-rw-r--r--bootstrap/Bootstrap.php14
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();