diff options
Diffstat (limited to 'bootstrap')
-rw-r--r-- | bootstrap/Bootstrap.php | 2 | ||||
-rw-r--r-- | bootstrap/Functions.php | 2 |
2 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 { |