修改
This commit is contained in:
20
public/index.php
Normal file
20
public/index.php
Normal 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();
|
||||
?>
|
||||
Reference in New Issue
Block a user