diff options
author | Friendika <info@friendika.com> | 2010-11-15 19:27:15 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-15 19:27:15 -0800 |
commit | 93c33f0eb39ee582bf3763ac1149e8ab01e2bdb9 (patch) | |
tree | e593cc1fa92cf5bd42625e66385dc8ef81109781 /mod/install.php | |
parent | b4e5b133a17a7676627ee38682573b0c5486f897 (diff) | |
download | volse-hubzilla-93c33f0eb39ee582bf3763ac1149e8ab01e2bdb9.tar.gz volse-hubzilla-93c33f0eb39ee582bf3763ac1149e8ab01e2bdb9.tar.bz2 volse-hubzilla-93c33f0eb39ee582bf3763ac1149e8ab01e2bdb9.zip |
html escape the raw message
Diffstat (limited to 'mod/install.php')
-rw-r--r-- | mod/install.php | 5 |
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; } |