mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 00:24:35 +00:00
adds phrasen library to LvMenu
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user