mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-05 20:48:40 +00:00
fix tests
This commit is contained in:
parent
3fdbff5cbf
commit
30326a5123
|
|
@ -188,8 +188,7 @@ final class BackendController extends Controller
|
|||
$view->data['interface'] = $interface;
|
||||
$view->data['db'] = $this->app->dbPool->get();
|
||||
|
||||
$lang = \is_file(
|
||||
$langFile = $interface->source->getAbsolutePath() . '/'
|
||||
$lang = \is_file($langFile = $interface->source->getAbsolutePath() . '/'
|
||||
. $interface->source->name
|
||||
. '/Lang/' . $response->header->l11n->language . '.lang.php'
|
||||
) ? include $langFile : [];
|
||||
|
|
@ -228,8 +227,7 @@ final class BackendController extends Controller
|
|||
$view->data['interface'] = $interface;
|
||||
$view->data['db'] = $this->app->dbPool->get();
|
||||
|
||||
$lang = \is_file(
|
||||
$langFile = $interface->source->getAbsolutePath() . '/'
|
||||
$lang = \is_file($langFile = $interface->source->getAbsolutePath() . '/'
|
||||
. $interface->source->name
|
||||
. '/Lang/' . $response->header->l11n->language . '.lang.php'
|
||||
) ? include $langFile : [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user