diff options
Diffstat (limited to 'bootstrap/Bootstrap.php')
-rw-r--r-- | bootstrap/Bootstrap.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bootstrap/Bootstrap.php b/bootstrap/Bootstrap.php index 02d9395..8285bbe 100644 --- a/bootstrap/Bootstrap.php +++ b/bootstrap/Bootstrap.php @@ -1,10 +1,13 @@ <?php /* composer autoload */ -require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/vendor/autoload.php';; +require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/vendor/autoload.php'; + +/* source functions */ +require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/bootstrap/Functions.php'; /* source config file */ -$config = include $_SERVER['DOCUMENT_ROOT'] . '/..' . '/AppConfig.php';; +$config = include $_SERVER['DOCUMENT_ROOT'] . '/..' . '/AppConfig.php'; /* connect database */ $contact['database'] = new QueryBuilder(Connection::make($config['database'])); |