2016-01-21 19:03:39 +08:00
|
|
|
<?php
|
|
|
|
/**
|
2016-07-21 22:01:57 +08:00
|
|
|
* Bootstrap file of Blessing Skin Server
|
2016-01-21 19:03:39 +08:00
|
|
|
*/
|
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
|
2016-08-24 22:43:04 +08:00
|
|
|
$app = new Blessing\Foundation\Application();
|
2016-07-24 14:56:22 +08:00
|
|
|
|
2016-08-08 22:19:12 +08:00
|
|
|
// Start Application
|
|
|
|
$app->run();
|