From 8cfa07bc8ca4b78b0d783cbf7f8df72251f8b62b Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 3 Jun 2024 23:04:59 +0000 Subject: [PATCH] SharpConfig -> FileConfig --- misuzu.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misuzu.php b/misuzu.php index 5de0136..15632e2 100644 --- a/misuzu.php +++ b/misuzu.php @@ -4,7 +4,7 @@ namespace Misuzu; use Index\Environment; use Index\Data\DbTools; use Syokuhou\DbConfig; -use Syokuhou\SharpConfig; +use Syokuhou\FileConfig; define('MSZ_STARTUP', microtime(true)); define('MSZ_ROOT', __DIR__); @@ -23,7 +23,7 @@ Environment::setDebug(MSZ_DEBUG); mb_internal_encoding('UTF-8'); date_default_timezone_set('UTC'); -$cfg = SharpConfig::fromFile(MSZ_CONFIG . '/config.cfg'); +$cfg = FileConfig::fromFile(MSZ_CONFIG . '/config.cfg'); if($cfg->hasValues('sentry:dsn')) (function($cfg) {