XBackBone/index.php

10 lines
368 B
PHP
Raw Normal View History

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
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);
$app = require_once __DIR__ . '/bootstrap/app.php';
2018-11-11 16:02:50 +00:00
$app->run();