MDL-16180 - add portfolio support to mnet

This commit is contained in:
mjollnir_
2008-08-30 11:25:29 +00:00
parent d67759cf7c
commit b91b274b92
6 changed files with 83 additions and 18 deletions
+6
View File
@@ -282,6 +282,12 @@ function get_db_directories() {
}
}
if ($plugins = get_list_of_plugins('portfolio/type', 'db')) {
foreach ($plugins as $plugin) {
$dbdirs[] = $CFG->dirroot . '/portfolio/type/' . $plugin . '/db';
}
}
/// Local database changes, if the local folder exists.
if (file_exists($CFG->dirroot . '/local')) {
$dbdirs[] = $CFG->dirroot.'/local/db';