aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-15 19:27:15 -0800
committerFriendika <info@friendika.com>2010-11-15 19:27:15 -0800
commit93c33f0eb39ee582bf3763ac1149e8ab01e2bdb9 (patch)
treee593cc1fa92cf5bd42625e66385dc8ef81109781
parentb4e5b133a17a7676627ee38682573b0c5486f897 (diff)
downloadvolse-hubzilla-93c33f0eb39ee582bf3763ac1149e8ab01e2bdb9.tar.gz
volse-hubzilla-93c33f0eb39ee582bf3763ac1149e8ab01e2bdb9.tar.bz2
volse-hubzilla-93c33f0eb39ee582bf3763ac1149e8ab01e2bdb9.zip
html escape the raw message
-rw-r--r--mod/install.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/install.php b/mod/install.php
index 21aafe3e1..2a791b98c 100644
--- a/mod/install.php
+++ b/mod/install.php
@@ -117,13 +117,14 @@ function check_htconfig() {
$o .= t('If not, you may be required to perform a manual installation. Please see the file "INSTALL" for instructions.');
}
-return $o;
+ return $o;
}
function manual_config(&$a) {
+ $data = htmlentities($a->data);
$o = t('The database configuration file ".htconfig.php" could not be written. Please use the enclosed text to create a configuration file in your web server root.');
- $o .= "<textarea rows=\"24\" cols=\"80\" >{$a->data}</textarea>";
+ $o .= "<textarea rows=\"24\" cols=\"80\" >$data</textarea>";
return $o;
}