add
This commit is contained in:
24
app/admin/library/stubs/backendEntrance.stub
Normal file
24
app/admin/library/stubs/backendEntrance.stub
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | BUILDADMIN
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2022-2023 https://buildadmin.com All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: 妙码生花 <hi@buildadmin.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
// [ 应用入口文件 ]
|
||||
namespace think;
|
||||
|
||||
require __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
// 执行HTTP应用并响应
|
||||
$http = (new App())->http;
|
||||
|
||||
$response = $http->name('admin')->run();
|
||||
|
||||
$response->send();
|
||||
|
||||
$http->end($response);
|
||||
Reference in New Issue
Block a user