aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
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']