v0.0.9 - Added swiper JS/CSS
Added hover.css Updated index/login layout frontend Updated getPost.php
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user