add composer library mode

This commit is contained in:
crazywhalecc
2023-12-24 14:43:47 +08:00
committed by Jerry Ma
parent 6b8df97282
commit db7532cad3
2 changed files with 8 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ declare(strict_types=1);
use ZM\Logger\ConsoleLogger;
define('WORKING_DIR', getcwd());
const ROOT_DIR = __DIR__ . '/../..';
define('ROOT_DIR', dirname(__DIR__, 2));
// CLI start time
define('START_TIME', microtime(true));