Example #1
0
<?php

require_once 'config.php';
$controller = new \controller\MasterController();
$controller->handleInput();
$page = new \view\ContentView();
echo $page->Render($controller->generateOutput(), $controller->IsLoggedIn());
Example #2
0
<?php

require_once 'config.php';
$controller = new \controller\LoginController();
$output = $controller->AuthenticateUser();
$page = new \view\ContentView();
echo $page->Render($output);