This commit is contained in:
2025-12-24 16:59:05 +08:00
parent b52a51c09b
commit b68946fe79
218 changed files with 10790 additions and 3878 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ return [
[
'class' => Monolog\Handler\RotatingFileHandler::class,
'constructor' => [
runtime_path() . '/logs/webman'.ceil(date('H')/6).'.log',
//runtime_path() . '/logs/webman'.ceil(date('H')/6).'.log',
runtime_path() . '/logs/webman.log',
7, //$maxFiles
Monolog\Logger::INFO,
],
+1 -1
View File
@@ -29,7 +29,7 @@ return [
base_path() . '/plugin/app',
base_path() . '/support',
base_path() . '/resource',
base_path() . '/.env',
base_path() . '/.env'
],
// 文件后缀
'monitor_extensions' => [
+3
View File
@@ -14,6 +14,9 @@
use Webman\Route;
Route::get('/u/{code}', [\app\controller\IndexController::class, 'user']);
Route::get('/g/{code}', [\app\controller\IndexController::class, 'group']);
Route::fallback(function(){
$fn = base_path().'/public/index.html';
if(file_exists($fn)){