From e6b451606ea90840ded21d573767a3a6f9628b30 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Wed, 24 Sep 2008 05:18:18 +0000 Subject: [PATCH] "MDL-16384, enable management url" --- repository/alfresco/repository.class.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/repository/alfresco/repository.class.php b/repository/alfresco/repository.class.php index 61a2676df3..2092d5f8ab 100755 --- a/repository/alfresco/repository.class.php +++ b/repository/alfresco/repository.class.php @@ -87,9 +87,13 @@ class repository_alfresco extends repository { global $CFG; $ret = array(); - $ret['manage'] = $CFG->wwwroot .'/files/index.php'; // temporary $ret['dynload'] = true; $ret['list'] = array(); + $url = $this->alfresco_url; + $pattern = '#^(.*)api#'; + preg_match($pattern, $url, $matches); + $ret['manage'] = $matches[1].'faces/jsp/dashboards/container.jsp'; + $ret['path'] = array(array('name'=>'Root', 'path'=>'')); if (empty($uuid)) { -- 2.39.5