bug fix for 4709

This commit is contained in:
toyomoyo
2006-02-08 02:02:28 +00:00
parent d9e61eacfd
commit f8cf297a7a
+2
View File
@@ -53,6 +53,8 @@
print_string('dbmigratewarning2','admin');
print_simple_box_end();
//put the site in maintenance mode
check_dir_exists($CFG->dataroot.'/'.SITEID, true);
if (touch($filename)) {
$file = fopen($filename, 'w');
fwrite($file, get_string('maintinprogress','admin'));