get_string not stripslashes

This commit is contained in:
moodler
2006-02-03 09:17:25 +00:00
parent e9e6e7b85f
commit 27afe69260
+1 -1
View File
@@ -55,7 +55,7 @@
//put the site in maintenance mode
if touch($filename) {
$file = fopen($filename, 'w');
fwrite($file, stripslashes('maintinprogress','admin'));
fwrite($file, get_string('maintinprogress','admin'));
fclose($file);
} else {
notify (get_string('maintfileopenerror','admin')