Updated to latest Index version.

This commit is contained in:
flash 2024-10-05 02:40:29 +00:00
parent 83f94debc7
commit 55a2424fee
138 changed files with 500 additions and 1329 deletions

View file

@ -1,9 +1,9 @@
<?php
namespace Misuzu;
use Index\Data\DbTools;
use Syokuhou\DbConfig;
use Syokuhou\FileConfig;
use Index\Db\DbTools;
use Index\Config\Db\DbConfig;
use Index\Config\Fs\FsConfig;
define('MSZ_STARTUP', microtime(true));
define('MSZ_ROOT', __DIR__);
@ -22,7 +22,7 @@ error_reporting(MSZ_DEBUG ? -1 : 0);
mb_internal_encoding('UTF-8');
date_default_timezone_set('GMT');
$cfg = FileConfig::fromFile(MSZ_CONFIG . '/config.cfg');
$cfg = FsConfig::fromFile(MSZ_CONFIG . '/config.cfg');
if($cfg->hasValues('sentry:dsn'))
(function($cfg) {