mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-10 11:02:41 +00:00
fix import of extension from repository
This commit is contained in:
parent
4bbf6ddecf
commit
d2a3ca301c
|
@ -115,7 +115,7 @@ elseif ($action == "import") { /* {{{ */
|
||||||
// $extMgr = new SeedDMS_Extension_Mgr($settings->_rootDir."/ext", $settings->_cacheDir);
|
// $extMgr = new SeedDMS_Extension_Mgr($settings->_rootDir."/ext", $settings->_cacheDir);
|
||||||
$controller->setParam('extmgr', $extMgr);
|
$controller->setParam('extmgr', $extMgr);
|
||||||
$controller->setParam('file', $file);
|
$controller->setParam('file', $file);
|
||||||
$_POST['action'] = 'upload';
|
$controller->setParam('action', 'upload');
|
||||||
if (!$controller()) {
|
if (!$controller()) {
|
||||||
unlink($file);
|
unlink($file);
|
||||||
UI::exitError(getMLText("admin_tools"),getMLText("error_occured"));
|
UI::exitError(getMLText("admin_tools"),getMLText("error_occured"));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user