mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +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);
|
||||
$controller->setParam('extmgr', $extMgr);
|
||||
$controller->setParam('file', $file);
|
||||
$_POST['action'] = 'upload';
|
||||
$controller->setParam('action', 'upload');
|
||||
if (!$controller()) {
|
||||
unlink($file);
|
||||
UI::exitError(getMLText("admin_tools"),getMLText("error_occured"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user