New record!! 2 lines, 3 typos!! :-P

Also, I've noticed that the file has DOS linefeeds!
Please avoid them!
This commit is contained in:
stronk7
2006-02-04 18:49:19 +00:00
parent 8dc725d939
commit be828dcdcb
+2 -2
View File
@@ -53,12 +53,12 @@
print_string('dbmigratewarning2','admin');
print_simple_box_end();
//put the site in maintenance mode
if touch($filename) {
if (touch($filename)) {
$file = fopen($filename, 'w');
fwrite($file, get_string('maintinprogress','admin'));
fclose($file);
} else {
notify (get_string('maintfileopenerror','admin')
notify (get_string('maintfileopenerror','admin'));
}
//print second confirmation box
echo '<form name="migratefrom" action="utfdbmigrate.php" method="POST">';