aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2020-06-19 01:30:53 -0400
committerThedro Neely <thedroneely@gmail.com>2020-06-19 01:53:15 -0400
commit15323bfea57229fd6d35b82fad06f21571ec1138 (patch)
tree21d09b8284f8174564e41394d25350f18edc8835 /bootstrap
parent4fd9a95ba952dd5528553524989160cd24284b0b (diff)
downloadthedroneely.com-15323bfea57229fd6d35b82fad06f21571ec1138.tar.gz
thedroneely.com-15323bfea57229fd6d35b82fad06f21571ec1138.tar.bz2
thedroneely.com-15323bfea57229fd6d35b82fad06f21571ec1138.zip
AppConfigBuild.php -> config.php
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/Bootstrap.php2
-rw-r--r--bootstrap/Helpers.php2
2 files changed, 2 insertions, 2 deletions
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']