"MDL-16384, enable management url"

This commit is contained in:
dongsheng 2008-09-24 05:18:18 +00:00
parent 6926b00569
commit e6b451606e

View File

@ -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)) {