add config file

This commit is contained in:
Dennis Eichhorn 2020-02-09 23:47:42 +01:00
parent 2dde389ee4
commit 4db59bf6dd

View File

@ -168,6 +168,8 @@ final class ApiController extends Controller
if (StringUtils::endsWith($lowerPath, '.lang.php')) {
$tcoll['lang'] = $tMedia;
} elseif (StringUtils::endsWith($lowerPath, '.cfg.php')) {
$tcoll['cfg'][$tMedia->getName()] = $tMedia;
} elseif (StringUtils::endsWith($lowerPath, '.xlsx.php')
|| StringUtils::endsWith($lowerPath, '.xls.php')
) {