mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-14 13:58:40 +00:00
fix swithc
This commit is contained in:
parent
2c8918904d
commit
f94afa7cb1
|
|
@ -161,7 +161,7 @@ final class ApiController extends Controller
|
|||
foreach ($files as $tMedia) {
|
||||
$lowerPath = \strtolower($tMedia->getPath());
|
||||
|
||||
switch ($lowerPath) {
|
||||
switch (true) {
|
||||
case StringUtils::endsWith($lowerPath, '.lang.php'):
|
||||
$tcoll['lang'] = $tMedia;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user