Game-Jaming/bootstrap.php

13 lines
322 B
PHP
Raw Normal View History

2021-03-03 08:49:59 +00:00
<?php
require "vendor/autoload.php";
use Illuminate\Database\Capsule\Manager as Capsule;
$capsule = new Capsule;
$capsule->addConnection([
"driver" => "mysql",
"host" =>"127.0.0.1",
2021-03-03 10:01:32 +00:00
"database" => "gamejamdb",
2021-03-03 08:49:59 +00:00
"username" => "root",
"password" => ""
]);
$capsule->setAsGlobal();
$capsule->bootEloquent();