diff --git a/app/Models/User.php b/app/Models/User.php new file mode 100644 index 0000000..841a587 --- /dev/null +++ b/app/Models/User.php @@ -0,0 +1,9 @@ + [ + 'from' => env('MAIL_SENDER_FROM', ''), + 'name' => env('MAIL_SENDER_NAME', ''), + ], + + 'smtp' => [ + 'user' => env('MAIL_USER', ''), + 'pass' => env('MAIL_PASS', ''), + 'host' => env('MAIL_HOST', ''), + 'port' => env('MAIL_PORT', 587), + ], + +]; diff --git a/public/index.php b/public/index.php index 8f58858..735ed99 100644 --- a/public/index.php +++ b/public/index.php @@ -1,11 +1,14 @@ */ + require_once __DIR__.'/../vendor/autoload.php'; include_once __DIR__.'/../app/constants.php'; -$application = new Rejoice\Foundation\App; -$application->run(); +use Rejoice\Foundation\App; + +App::start();