This commit is contained in:
张松
2025-08-13 19:37:15 +08:00
parent 29ace7e8ec
commit 0a26e53c7c
4 changed files with 1641 additions and 2 deletions

20
public/index.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
/**
* index.php - Web 面板启动 Workerman/Webman
*/
use support\App;
chdir(__DIR__);
require_once __DIR__ . '/../vendor/autoload.php';
ini_set('display_errors', 'on');
error_reporting(E_ALL);
// 进程文件
$runtimeProcessPath = __DIR__ . '/../runtime/windows';
$processFiles = glob($runtimeProcessPath . '/start_*.php');
App::loadAllConfig(['route']);
App::run();
?>