aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/Bootstrap.php
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2018-08-30 04:40:53 -0400
committerThedro Neely <thedroneely@gmail.com>2018-08-30 04:40:53 -0400
commit2659205908bd5cab508f4ff817123673e078ab74 (patch)
treee455f36b124e9b98f7005e6d4310b71881734623 /bootstrap/Bootstrap.php
downloadedwinmattiacci.com-2659205908bd5cab508f4ff817123673e078ab74.tar.gz
edwinmattiacci.com-2659205908bd5cab508f4ff817123673e078ab74.tar.bz2
edwinmattiacci.com-2659205908bd5cab508f4ff817123673e078ab74.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..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']));