webman_duanju/public/index.php

20 lines
384 B
PHP

<?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();
?>