From 15323bfea57229fd6d35b82fad06f21571ec1138 Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Fri, 19 Jun 2020 01:30:53 -0400 Subject: AppConfigBuild.php -> config.php --- bootstrap/Bootstrap.php | 2 +- bootstrap/Helpers.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/Bootstrap.php b/bootstrap/Bootstrap.php index c21d317..4e10f48 100644 --- a/bootstrap/Bootstrap.php +++ b/bootstrap/Bootstrap.php @@ -7,7 +7,7 @@ require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/vendor/autoload.php'; require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/bootstrap/Helpers.php'; /* source config file */ -$config = include $_SERVER['DOCUMENT_ROOT'] . '/..' . '/AppConfig.php'; +$config = include $_SERVER['DOCUMENT_ROOT'] . '/..' . '/config.php'; /* connect database */ $contact['database'] = new QueryBuilder(Connection::make($config['database'])); diff --git a/bootstrap/Helpers.php b/bootstrap/Helpers.php index 575057a..17127c6 100644 --- a/bootstrap/Helpers.php +++ b/bootstrap/Helpers.php @@ -50,7 +50,7 @@ function fetch(string $uri, string $field) return; } - $config = include $_SERVER['DOCUMENT_ROOT'] . '/..' . '/AppConfig.php'; + $config = include $_SERVER['DOCUMENT_ROOT'] . '/..' . '/config.php'; $request = file_get_contents( $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['SERVER_NAME'] -- cgit v1.2.3