mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-04 23:48:42 +00:00
add config file
This commit is contained in:
parent
2dde389ee4
commit
4db59bf6dd
|
|
@ -168,6 +168,8 @@ final class ApiController extends Controller
|
||||||
|
|
||||||
if (StringUtils::endsWith($lowerPath, '.lang.php')) {
|
if (StringUtils::endsWith($lowerPath, '.lang.php')) {
|
||||||
$tcoll['lang'] = $tMedia;
|
$tcoll['lang'] = $tMedia;
|
||||||
|
} elseif (StringUtils::endsWith($lowerPath, '.cfg.php')) {
|
||||||
|
$tcoll['cfg'][$tMedia->getName()] = $tMedia;
|
||||||
} elseif (StringUtils::endsWith($lowerPath, '.xlsx.php')
|
} elseif (StringUtils::endsWith($lowerPath, '.xlsx.php')
|
||||||
|| StringUtils::endsWith($lowerPath, '.xls.php')
|
|| StringUtils::endsWith($lowerPath, '.xls.php')
|
||||||
) {
|
) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user