Updated Index in Uiharu.

This commit is contained in:
Pachira 2024-08-04 21:54:10 +00:00
parent b115706359
commit f00a3c744d
2 changed files with 5 additions and 9 deletions

View file

@ -1,9 +1,7 @@
{
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"flashwave/index": "dev-master",
"flashwave/syokuhou": "dev-master",
"flashwave/index": "^0.2408.40014",
"flashwave/syokuhou": "^1.2",
"sentry/sdk": "^4.0"
},
"autoload": {

View file

@ -1,7 +1,6 @@
<?php
namespace Uiharu;
use Index\Environment;
use Index\Data\DbTools;
use Syokuhou\SharpConfig;
@ -15,10 +14,9 @@ define('UIH_VERSION', '20240330');
require_once UIH_ROOT . '/vendor/autoload.php';
Environment::setDebug(UIH_DEBUG);
mb_internal_encoding('utf-8');
date_default_timezone_set('utc');
error_reporting(UIH_DEBUG ? -1 : 0);
mb_internal_encoding('UTF-8');
date_default_timezone_set('GMT');
$cfg = SharpConfig::fromFile(UIH_ROOT . '/uiharu.cfg');