diff options
author | Thedro Neely <thedroneely@gmail.com> | 2020-08-27 20:43:10 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2020-08-27 20:43:10 -0400 |
commit | 64ef1a47387b0d0ded17d5f4d0723b8211012769 (patch) | |
tree | 3b4473e53633d45cd6a6fc0bd16087df45250423 | |
parent | 616efa07fb7720456bcb3b2b445d61333c1d45b1 (diff) | |
download | edwinmattiacci.com-64ef1a47387b0d0ded17d5f4d0723b8211012769.tar.gz edwinmattiacci.com-64ef1a47387b0d0ded17d5f4d0723b8211012769.tar.bz2 edwinmattiacci.com-64ef1a47387b0d0ded17d5f4d0723b8211012769.zip |
AppConfigBuild.php -> config.php
-rw-r--r-- | bootstrap/Bootstrap.php | 2 | ||||
-rw-r--r-- | bootstrap/Functions.php | 2 | ||||
-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 |