2018-04-28 12:20:07 +00:00
|
|
|
<?php
|
2019-05-09 10:51:33 +00:00
|
|
|
(PHP_MAJOR_VERSION >= 7 && PHP_MINOR_VERSION >= 1) ?: die('Sorry, PHP 7.1 or above is required to run XBackBone.');
|
2018-11-11 18:18:27 +00:00
|
|
|
require __DIR__ . '/vendor/autoload.php';
|
2018-04-28 12:20:07 +00:00
|
|
|
|
2019-01-26 17:37:00 +00:00
|
|
|
define('BASE_DIR', __DIR__ . DIRECTORY_SEPARATOR);
|
2018-04-28 12:20:07 +00:00
|
|
|
define('PLATFORM_VERSION', json_decode(file_get_contents('composer.json'))->version);
|
|
|
|
|
2019-05-06 22:49:24 +00:00
|
|
|
$app = require_once __DIR__ . '/bootstrap/app.php';
|
2018-11-11 16:02:50 +00:00
|
|
|
$app->run();
|