2016-07-02 10:58:30 -07:00
|
|
|
<?php
|
|
|
|
|
2016-07-08 14:58:30 -07:00
|
|
|
/*
|
|
|
|
* This file is part of Resume.PHP.
|
|
|
|
*
|
|
|
|
* (copyleft) R. Eric Wheeler <sikofitt@gmail.com>
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
2016-07-07 14:50:58 -07:00
|
|
|
|
2016-07-03 20:54:55 -07:00
|
|
|
require_once __DIR__ . '/../vendor/autoload.php';
|
|
|
|
|
2016-07-15 10:02:18 -07:00
|
|
|
|
2016-07-03 20:54:55 -07:00
|
|
|
$app = new App();
|
2016-07-03 22:17:58 -07:00
|
|
|
|
2016-07-08 14:58:30 -07:00
|
|
|
require_once $app->getAppDirectory() . '/providers.php';
|
2016-07-02 10:58:30 -07:00
|
|
|
|
2016-07-08 14:58:30 -07:00
|
|
|
$app->mount('/', new \Sikofitt\Controller\ResumeControllerProvider());
|
|
|
|
$app->mount('/api', new \Sikofitt\Controller\ApiControllerProvider());
|
2016-07-15 10:02:18 -07:00
|
|
|
|
2016-07-07 14:50:58 -07:00
|
|
|
$app->run();
|