print data to website
This commit is contained in:
parent
053bf845cf
commit
5bd15d9442
|
@ -46,5 +46,9 @@ if(isset($_SESSION['token'])){
|
|||
$group->save();
|
||||
}
|
||||
}
|
||||
}else{
|
||||
header("location: ../../../Frontend/group.php?error=TooManyUploads");
|
||||
}
|
||||
}else{
|
||||
header("location: ../../../Main.php?error=NoLogin");
|
||||
}
|
|
@ -1 +1,7 @@
|
|||
<?php
|
||||
require_once "../../../bootstrap.php";
|
||||
use Backend\Models\GameJam;
|
||||
|
||||
$dbValue = GameJam::all()->toJson(JSON_PRETTY_PRINT);
|
||||
header('Content-Type: application/json;charset=UTF-8');
|
||||
echo $dbValue;
|
Loading…
Reference in New Issue