mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-09-06 10:00:58 +00:00
use ExtensionMgr created in inc.Extension.php
This commit is contained in:
parent
61f4dfca4b
commit
25fd07a945
|
@ -34,10 +34,10 @@ if (!$user->isAdmin()) {
|
||||||
UI::exitError(getMLText("admin_tools"),getMLText("access_denied"));
|
UI::exitError(getMLText("admin_tools"),getMLText("access_denied"));
|
||||||
}
|
}
|
||||||
|
|
||||||
$reposurl = $settings->_repositoryUrl;
|
//$reposurl = $settings->_repositoryUrl;
|
||||||
|
//$extMgr = new SeedDMS_Extension_Mgr($settings->_rootDir."/ext", $settings->_cacheDir, $reposurl);
|
||||||
|
|
||||||
$v = new SeedDMS_Version;
|
$v = new SeedDMS_Version;
|
||||||
$extmgr = new SeedDMS_Extension_Mgr($settings->_rootDir."/ext", $settings->_cacheDir, $reposurl);
|
|
||||||
if(isset($_GET['currenttab']))
|
if(isset($_GET['currenttab']))
|
||||||
$currenttab = $_GET['currenttab'];
|
$currenttab = $_GET['currenttab'];
|
||||||
else
|
else
|
||||||
|
@ -52,7 +52,7 @@ if($view) {
|
||||||
$view->setParam('extdir', $settings->_rootDir."/ext");
|
$view->setParam('extdir', $settings->_rootDir."/ext");
|
||||||
$view->setParam('version', $v);
|
$view->setParam('version', $v);
|
||||||
$view->setParam('accessobject', $accessop);
|
$view->setParam('accessobject', $accessop);
|
||||||
$view->setParam('extmgr', $extmgr);
|
$view->setParam('extmgr', $extMgr);
|
||||||
$view->setParam('currenttab', $currenttab);
|
$view->setParam('currenttab', $currenttab);
|
||||||
$view->setParam('extname', $extname);
|
$view->setParam('extname', $extname);
|
||||||
$view->setParam('reposurl', $reposurl);
|
$view->setParam('reposurl', $reposurl);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user