v0.0.9 - Added swiper JS/CSS

Added hover.css
Updated index/login layout frontend
Updated getPost.php
This commit is contained in:
Anders
2021-06-04 13:32:19 +02:00
parent 4ce94621a7
commit dc15757c5f
10 changed files with 1241 additions and 395 deletions
+1 -6
View File
@@ -3,14 +3,9 @@ require "../../bootstrap.php";
use Backend\Model\Post;
session_start();
if (!isset($_SESSION['token'])) {
header("location: ../../Frontend/index.php?login=notloggedin");
}
header('Content-Type: application/json;charset=UTF-8');
//HOme.php
//Home.php
$data = Post::all();
echo $data;