You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
GeekQu_sspanel/bootstrap.php

30 lines
466 B
PHP

<?php
/***
* ss-panel v3 Bootstrap
* @author orvice
* @email sspanel@orx.me
* @url https://github.com/orvice/ss-panel
*/
use App\Services\Boot;
// BASE_PATH
define('BASE_PATH', __DIR__);
define('VERSION', '20180413');
// Vendor Autoload
require BASE_PATH.'/vendor/autoload.php';
require BASE_PATH."/config/.config.php";
Boot::loadEnv();
Boot::setDebug();
//Boot::setVersion(VERSION);
// config time zone
Boot::setTimezone();
// Init db
Boot::bootDb();