aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/Bootstrap.php
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2018-08-30 04:30:53 -0400
committerThedro Neely <thedroneely@gmail.com>2018-08-30 04:30:53 -0400
commit2bdcd9d9283b44e7c35822aa1317013928006fd8 (patch)
treeca2bf097e4dfcfdabba36a5cb2643560ab03b926 /bootstrap/Bootstrap.php
downloadthedroneely.com-2bdcd9d9283b44e7c35822aa1317013928006fd8.tar.gz
thedroneely.com-2bdcd9d9283b44e7c35822aa1317013928006fd8.tar.bz2
thedroneely.com-2bdcd9d9283b44e7c35822aa1317013928006fd8.zip
Initialize Repo: First Commit
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..c91edd8
--- /dev/null
+++ b/bootstrap/Bootstrap.php
@@ -0,0 +1,13 @@
+<?php
+
+/* composer autoloader */
+require '../vendor/autoload.php';
+
+/* app functions */
+require '../app/Functions.php';
+
+/* source config file */
+$config = include '../AppConfig.php';
+
+/* database query setup */
+$contact['database'] = new QueryBuilder(Connection::make($config['database']));