0ce9bde57c
Added check for the minimum php version Package update and cleanup
10 lines
361 B
PHP
10 lines
361 B
PHP
<?php
|
|
(PHP_MAJOR_VERSION >= 7 && PHP_MINOR_VERSION >= 1) ?: die('Sorry, PHP >=7.1 is required to run XBackBone.');
|
|
require __DIR__ . '/vendor/autoload.php';
|
|
|
|
define('BASE_DIR', __DIR__ . DIRECTORY_SEPARATOR);
|
|
define('PLATFORM_VERSION', json_decode(file_get_contents('composer.json'))->version);
|
|
|
|
$app = require_once __DIR__ . '/bootstrap/app.php';
|
|
$app->run();
|