-
Notifications
You must be signed in to change notification settings - Fork 228
Expand file tree
/
Copy pathapp.php
More file actions
27 lines (23 loc) · 964 Bytes
/
app.php
File metadata and controls
27 lines (23 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php declare(strict_types=1);
/**
* Website: https://mudew.com/
* Author: Lkeme
* License: The MIT License
* Email: Useri@live.cn
* Updated: 2018 ~ 2026
*
* _____ _ _ _ _ _ _____ _ _____ _____ _____
* | _ \ | | | | | | | | | | | ____| | | | _ \ | ____| | _ \ & /l、
* | |_| | | | | | | | | |_| | | |__ | | | |_| | | |__ | |_| | (゚、 。 7
* | _ { | | | | | | | _ | | __| | | | ___/ | __| | _ / \、゙ ~ヽ *
* | |_| | | | | |___ | | | | | | | |___ | |___ | | | |___ | | \ \ じしf_, )ノ
* |_____/ |_| |_____| |_| |_| |_| |_____| |_____| |_| |_____| |_| \_\
*/
require 'vendor/autoload.php';
try {
$kernel = new Bhp\App\AppKernel(__DIR__, $argv);
$kernel->boot()->console->register();
} catch (Bhp\Console\Cli\RuntimeException $exception) {
fwrite(STDERR, $exception->getMessage() . PHP_EOL);
exit(1);
}