Files
ulthon_admin/app/provider.php
2023-09-18 18:06:40 +08:00

18 lines
429 B
PHP

<?php
// 容器Provider定义文件
use app\common\provider\ExceptionHandle;
use app\common\provider\Request;
use app\common\provider\View;
$provider_default = [
'think\Request' => Request::class,
'think\exception\Handle' => ExceptionHandle::class,
'think\View' => View::class,
];
$provider_common = include_once __DIR__ . '/app/common/app/provider.php';
return array_merge($provider_default, $provider_common);