swoole-framwork/app/config/define.php
2024-05-22 15:50:08 +08:00

10 lines
308 B
PHP

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