fix
This commit is contained in:
parent
171e0a3765
commit
7e6c3d4b9b
|
@ -111,3 +111,5 @@ composer.phar
|
|||
/Frontend/images/
|
||||
/Test/
|
||||
/Test/
|
||||
/.vs/
|
||||
*.sqlite
|
||||
|
|
|
@ -3,7 +3,7 @@ require_once "../../../bootstrap.php";
|
|||
use Backend\Models\Group;
|
||||
|
||||
if (isset($_GET["groupId"])){
|
||||
$groups = Group::find($_GET["groupId"]);
|
||||
$groups = Group::find($_GET["groupId"]);
|
||||
}
|
||||
elseif(isset($_GET["gameJameId"])){
|
||||
$groups = Group::where("game_jam_id",$_GET["gameJameId"])->get();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
require_once "../../bootstrap.php";
|
||||
require_once realpath(dirname(__FILE__) ."/../../bootstrap.php");
|
||||
use Illuminate\Database\Capsule\Manager as Capsule;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
//require bootstrap aka our database connection
|
||||
require_once "../../bootstrap.php";
|
||||
require_once realpath(dirname(__FILE__) ."/../../bootstrap.php");
|
||||
use Illuminate\Database\Capsule\Manager as Capsule;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
//require bootstrap aka our database connection
|
||||
require_once "../../bootstrap.php";
|
||||
require_once realpath(dirname(__FILE__) ."/../../bootstrap.php");
|
||||
use Illuminate\Database\Capsule\Manager as Capsule;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
//require bootstrap aka our database connection
|
||||
require_once "../../bootstrap.php";
|
||||
require_once realpath(dirname(__FILE__) ."/../../bootstrap.php");
|
||||
use Illuminate\Database\Capsule\Manager as Capsule;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
//require bootstrap aka our database connection
|
||||
require_once "../../bootstrap.php";
|
||||
require_once realpath(dirname(__FILE__) ."/../../bootstrap.php");
|
||||
use Illuminate\Database\Capsule\Manager as Capsule;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
//require bootstrap aka our database connection
|
||||
require_once "../../bootstrap.php";
|
||||
require_once realpath(dirname(__FILE__) ."/../../bootstrap.php");
|
||||
use Illuminate\Database\Capsule\Manager as Capsule;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
require_once "../../bootstrap.php";
|
||||
require_once realpath(dirname(__FILE__) ."/../../bootstrap.php");
|
||||
use Illuminate\Database\Capsule\Manager as Capsule;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
|
|
@ -21,6 +21,3 @@ require "KeyWord.php"; //Group has foreign keys to the Group
|
|||
require "Vote.php";
|
||||
require "AdminUser.php";
|
||||
|
||||
\Backend\Models\AdminUser::firstOrCreate([
|
||||
'user_name' => 'admin', 'password' => password_hash("Aa123456&",PASSWORD_DEFAULT)
|
||||
]);
|
|
@ -3,7 +3,7 @@ use Backend\Models\GameJam;
|
|||
use Illuminate\Contracts\Config;
|
||||
|
||||
require_once('../bootstrap.php');
|
||||
|
||||
" tis is a string'' ";
|
||||
|
||||
$gameJam = GameJam::firstOrCreate([
|
||||
'name' => "First game jam ever!", 'start_time' => "2021-03-03T12:40", 'end_time' => "2021-04-03T12:40", 'description' => "Det her et en beskrivelse"
|
||||
|
|
Loading…
Reference in New Issue