Setup initial backend for the blog posts and added in the link to the pages
Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
Vendored
+4
-1
@@ -1,4 +1,4 @@
|
||||
<?php /** @noinspection PhpIncludeInspection */
|
||||
<?php
|
||||
|
||||
////////////////// Index file //////////////
|
||||
/// Creates base routes and runs ///
|
||||
@@ -10,7 +10,9 @@ include "middleware.php";
|
||||
include "timelineData.php";
|
||||
include "projectData.php";
|
||||
include "user.php";
|
||||
include "blogData.php";
|
||||
|
||||
use api\blogData;
|
||||
use api\middleware;
|
||||
use api\projectData;
|
||||
use api\timelineData;
|
||||
@@ -33,6 +35,7 @@ new middleware($app);
|
||||
|
||||
$timelineData = new timelineData();
|
||||
$projectData = new projectData();
|
||||
$blogData = new blogData();
|
||||
$user = new user();
|
||||
|
||||
$app->get("/timelineData/{timeline}", function (Request $request, Response $response, array $args)
|
||||
|
||||
Reference in New Issue
Block a user