aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}