Updated Index in Uiharu.
This commit is contained in:
parent
b115706359
commit
f00a3c744d
2 changed files with 5 additions and 9 deletions
|
@ -1,9 +1,7 @@
|
||||||
{
|
{
|
||||||
"minimum-stability": "dev",
|
|
||||||
"prefer-stable": true,
|
|
||||||
"require": {
|
"require": {
|
||||||
"flashwave/index": "dev-master",
|
"flashwave/index": "^0.2408.40014",
|
||||||
"flashwave/syokuhou": "dev-master",
|
"flashwave/syokuhou": "^1.2",
|
||||||
"sentry/sdk": "^4.0"
|
"sentry/sdk": "^4.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
namespace Uiharu;
|
namespace Uiharu;
|
||||||
|
|
||||||
use Index\Environment;
|
|
||||||
use Index\Data\DbTools;
|
use Index\Data\DbTools;
|
||||||
use Syokuhou\SharpConfig;
|
use Syokuhou\SharpConfig;
|
||||||
|
|
||||||
|
@ -15,10 +14,9 @@ define('UIH_VERSION', '20240330');
|
||||||
|
|
||||||
require_once UIH_ROOT . '/vendor/autoload.php';
|
require_once UIH_ROOT . '/vendor/autoload.php';
|
||||||
|
|
||||||
Environment::setDebug(UIH_DEBUG);
|
error_reporting(UIH_DEBUG ? -1 : 0);
|
||||||
|
mb_internal_encoding('UTF-8');
|
||||||
mb_internal_encoding('utf-8');
|
date_default_timezone_set('GMT');
|
||||||
date_default_timezone_set('utc');
|
|
||||||
|
|
||||||
$cfg = SharpConfig::fromFile(UIH_ROOT . '/uiharu.cfg');
|
$cfg = SharpConfig::fromFile(UIH_ROOT . '/uiharu.cfg');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue