Fixed Index library path in Satori scripts.

This commit is contained in:
flash 2023-07-21 19:27:07 +00:00
parent 5a5915c707
commit 27a0e9716d
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<?php
$config = parse_ini_file(__DIR__ . '/../config/flashii.ini');
require_once $config['msz-path'] . '/lib/index/index.php';
require_once $config['msz-path'] . '/vendor/flashwave/index/index.php';
header('Content-Type: application/json; charset=utf-8');

View file

@ -1,6 +1,6 @@
<?php
$config = parse_ini_file(__DIR__ . '/../config/flashii.ini');
require_once $config['msz-path'] . '/lib/index/index.php';
require_once $config['msz-path'] . '/vendor/flashwave/index/index.php';
try {
$db = \Index\Data\DbTools::create($config['exrate-dsn2']);