mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
"MDL-16384, enable management url"
This commit is contained in:
parent
6926b00569
commit
e6b451606e
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user