mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-15 19:19:28 +00:00
ExtensionsLib now gets the list of installed extensions without using the privileged user
This commit is contained in:
@@ -220,7 +220,10 @@ class ExtensionsLib
|
||||
*/
|
||||
public function getInstalledExtensions()
|
||||
{
|
||||
return $this->_ci->ExtensionsModel->getInstalledExtensions();
|
||||
// Loading models
|
||||
$this->_ci->load->model('system/ExtensionsNOPriv_model', 'ExtensionsNOPrivModel');
|
||||
|
||||
return $this->_ci->ExtensionsNOPrivModel->getInstalledExtensions();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user