Skip to content

Commit

Permalink
Fix public/index.php
Browse files Browse the repository at this point in the history
  • Loading branch information
prinx committed Oct 23, 2020
1 parent 55e2f6d commit b08afba
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
9 changes: 9 additions & 0 deletions app/Models/User.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

namespace App\Models;

use Rejoice\Database\Model;

class User extends Model
{
}
19 changes: 19 additions & 0 deletions config/mail.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

use function Prinx\Dotenv\env;

return [

'sender' => [
'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),
],

];
7 changes: 5 additions & 2 deletions public/index.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<?php

/**
* Bootstraps the application.
*
* @author Prince Dorcis <[email protected]>
*/

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();

0 comments on commit b08afba

Please sign in to comment.