Fixed Index library path in Satori scripts.
This commit is contained in:
parent
5a5915c707
commit
27a0e9716d
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$config = parse_ini_file(__DIR__ . '/../config/flashii.ini');
|
$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');
|
header('Content-Type: application/json; charset=utf-8');
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$config = parse_ini_file(__DIR__ . '/../config/flashii.ini');
|
$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 {
|
try {
|
||||||
$db = \Index\Data\DbTools::create($config['exrate-dsn2']);
|
$db = \Index\Data\DbTools::create($config['exrate-dsn2']);
|
||||||
|
|
Reference in a new issue