added login, logout and registration sites and functionality as well as an protected profile page
This commit is contained in:
parent
cbebac47fa
commit
5b3f5a1123
12 changed files with 163 additions and 28 deletions
|
|
@ -4,4 +4,9 @@ require 'Database.php';
|
|||
require 'router.php';
|
||||
require 'Response.php';
|
||||
|
||||
$username = 'MatheApp';
|
||||
$password = 'password';
|
||||
$config = require('config.php');
|
||||
$db = new Database($config['database'], $username, $password);
|
||||
|
||||
//dd($posts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue