adds phrasen library to LvMenu

This commit is contained in:
SimonGschnell
2024-08-12 14:09:21 +02:00
parent d7abc41137
commit 73dd89e5af
4 changed files with 13 additions and 3 deletions
@@ -38,6 +38,9 @@ class LvMenu extends FHCAPI_Controller
parent::__construct([
'getLvMenu' => self::PERM_LOGGED
]);
$this->load->library("PhrasesLib");
$this->loadPhrases(array('global'));
}
//------------------------------------------------------------------------------------------------------------------
@@ -74,6 +77,7 @@ class LvMenu extends FHCAPI_Controller
// get the sprache
$sprache = getSprache();
$p = new phrasen($sprache);
//$p = $this->$p;
// get the db
if (!$db = new basis_db())