blob: 39e6c0837779914d769e8d2d79230e4a26093186 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
/* composer autoload */
require $_SERVER['DOCUMENT_ROOT'] . '/..' . '/vendor/autoload.php';;
/* source config file */
$config = include $_SERVER['DOCUMENT_ROOT'] . '/..' . '/AppConfig.php';;
/* connect database */
$contact['database'] = new QueryBuilder(Connection::make($config['database']));
/* create new router */
$router = new Router;
/* create navigator */
$navigation = new Navigation();
|