mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 14:58:42 +00:00
Fix providing install
This commit is contained in:
parent
7fe79b39ea
commit
634c1e33b7
|
|
@ -542,8 +542,7 @@ class ModuleManager
|
||||||
{
|
{
|
||||||
if (file_exists($this->modulePath . '/' . $from . '/Admin/Install/' . $for . '.php')) {
|
if (file_exists($this->modulePath . '/' . $from . '/Admin/Install/' . $for . '.php')) {
|
||||||
$class = '\\Modules\\' . $from . '\\Admin\\Install\\' . $for;
|
$class = '\\Modules\\' . $from . '\\Admin\\Install\\' . $for;
|
||||||
/** @var $class InstallerAbstract */
|
$class::install($this->modulePath, $this->app->dbPool);
|
||||||
$class::install($this->modulePath, $this->app->dbPool, $this->loadInfo($from));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user