swoole-framwork/app/config/define.php
2024-05-21 14:33:56 +08:00

8 lines
184 B
PHP

<?php
define("ROOT_PATH", dirname(dirname(__DIR__)));
$GLOBAL_CONFIGS = [
'db' => require_once(__DIR__ . "/db.php"),
'dbpool' => require_once(__DIR__ . '/dbpool.php'),
];