blessing-skin-server/index.php

17 lines
295 B
PHP
Raw Normal View History

<?php
/**
2016-07-21 22:01:57 +08:00
* Bootstrap file of Blessing Skin Server
*/
2016-02-10 15:20:13 +08:00
2016-07-28 12:01:00 +08:00
// Define Base Directory
2016-07-21 22:01:57 +08:00
define('BASE_DIR', __DIR__);
2016-07-28 12:01:00 +08:00
// Register Composer Auto Loader
2016-07-21 22:01:57 +08:00
require BASE_DIR.'/vendor/autoload.php';
2016-08-08 22:19:12 +08:00
// Initialize Application
$app = new App\Services\Application(BASE_DIR);
2016-07-24 14:56:22 +08:00
2016-08-08 22:19:12 +08:00
// Start Application
$app->run();