swoole-framwork/app/config/define.php

8 lines
184 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 = [
'db' => require_once(__DIR__ . "/db.php"),
'dbpool' => require_once(__DIR__ . '/dbpool.php'),
2024-05-20 11:51:07 +08:00
];