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