diff options
author | Thedro Neely <thedroneely@gmail.com> | 2018-08-30 04:30:53 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2018-08-30 04:30:53 -0400 |
commit | 2bdcd9d9283b44e7c35822aa1317013928006fd8 (patch) | |
tree | ca2bf097e4dfcfdabba36a5cb2643560ab03b926 /bootstrap/Bootstrap.php | |
download | thedroneely.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.php | 13 |
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'])); |