XBackBone/index.php

11 lines
373 B
PHP
Raw Normal View History

2018-04-28 12:20:07 +00:00
<?php
2019-11-20 17:49:31 +00:00
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.');
2019-11-20 17:49:31 +00:00
require __DIR__.'/vendor/autoload.php';
2018-04-28 12:20:07 +00:00
2019-11-20 17:49:31 +00:00
define('BASE_DIR', realpath(__DIR__).DIRECTORY_SEPARATOR);
2018-04-28 12:20:07 +00:00
define('PLATFORM_VERSION', json_decode(file_get_contents('composer.json'))->version);
2019-11-20 17:49:31 +00:00
$app = require_once __DIR__.'/bootstrap/app.php';
2018-11-11 16:02:50 +00:00
$app->run();