aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/Bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/Bootstrap.php')
-rw-r--r--bootstrap/Bootstrap.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/bootstrap/Bootstrap.php b/bootstrap/Bootstrap.php
new file mode 100644
index 0000000..2754a1d
--- /dev/null
+++ b/bootstrap/Bootstrap.php
@@ -0,0 +1,13 @@
+<?php
+
+/* composer autoloader */
+require '../vendor/autoload.php';
+
+/* core functions */
+require '../bootstrap/Functions.php';
+
+/* source config file */
+$config = include '../AppConfig.php';
+
+/* database query setup */
+$contact['database'] = new QueryBuilder(Connection::make($config['database']));