swoole-framwork/app/config/define.php

10 lines
308 B
PHP
Raw Normal View History

2024-05-20 11:51:07 +08:00
<?php
define("ROOT_PATH", dirname(dirname(__DIR__)));
2024-05-21 14:33:56 +08:00
$GLOBAL_CONFIGS = [
2024-05-22 15:50:08 +08:00
'db' => require_once(__DIR__ . "/db.php"),
'dbpool' => require_once(__DIR__ . '/dbpool.php'),
'redis' => require_once(__DIR__ . '/redis.php'),
'redispool' => require_once(__DIR__ . '/redispool.php'),
2024-05-20 11:51:07 +08:00
];