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.
Malio/bootstrap.php

32 lines
536 B
PHTML

9 years ago
<?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', '20180419');
9 years ago
// Vendor Autoload
require BASE_PATH.'/vendor/autoload.php';
require BASE_PATH."/config/.config.php";
7 years ago
require BASE_PATH."/config/.malio_config.php";
9 years ago
require BASE_PATH."/config/.i18n.php";
9 years ago
Boot::setDebug();
//Boot::setVersion(VERSION);
// config time zone
Boot::setTimezone();
// Init db
Boot::bootDb();