Further integration of backup into main Moodle.

The database checks/upgrades are now done on the main
admin page like the other modules.

The database files are now standard format .sql and .php files

PostgreSQL support was added - BUT HAS NOT BEEN TESTED YET!!
This commit is contained in:
moodler
2003-08-01 13:59:17 +00:00
parent 2e3e1ac76b
commit 10dcde409b
8 changed files with 155 additions and 52 deletions
+6
View File
@@ -209,6 +209,12 @@
}
/// Upgrade backup/restore system if necessary
require_once("$CFG->dirroot/backup/lib.php");
upgrade_backup_db("$CFG->wwwroot/$CFG->admin/index.php"); // Return here afterwards
/// Find and check all modules and load them up or upgrade them if necessary
if (!$mods = get_list_of_plugins("mod") ) {