aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap/Bootstrap.php2
-rw-r--r--bootstrap/Functions.php2
-rw-r--r--config.php (renamed from AppConfigBuild.php)0
3 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/Bootstrap.php b/bootstrap/Bootstrap.php
index f6f1a54..5064db4 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/Functions.php';
/* source config file */
-$config = include $_SERVER['DOCUMENT_ROOT'] . '/..' . '/AppConfig.php';
+$config = include $_SERVER['DOCUMENT_ROOT'] . '/..' . '/config.php';
/* database connect */
$contact['database'] = new QueryBuilder(Connection::make($config['database']));
diff --git a/bootstrap/Functions.php b/bootstrap/Functions.php
index 47008c3..09f5649 100644
--- a/bootstrap/Functions.php
+++ b/bootstrap/Functions.php
@@ -7,7 +7,7 @@ use PHPMailer\PHPMailer\Exception;
function sendMail($name, $email, $message)
{
// Require mail config
- $config = include '../AppConfig.php';
+ $config = include '../config.php';
$mail = new PHPMailer(true);
try {
diff --git a/AppConfigBuild.php b/config.php
index 0e83ebe..0e83ebe 100644
--- a/AppConfigBuild.php
+++ b/config.php