diff options
| author | Horus3 | 2014-09-18 15:51:24 +0200 |
|---|---|---|
| committer | Horus3 | 2014-09-18 15:51:24 +0200 |
| commit | f39735adc85901a3a2db83d16334ffff66960f65 (patch) | |
| tree | d06114a215f951bf488592ddca7c57a8e48be543 /public_html/functions.php | |
| parent | 549f9ae5de4943e347c4d2810d795d00d53e76c8 (diff) | |
| download | vfs-f39735adc85901a3a2db83d16334ffff66960f65.tar.gz | |
feature roadmap
Diffstat (limited to 'public_html/functions.php')
| -rw-r--r-- | public_html/functions.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public_html/functions.php b/public_html/functions.php index a5dbd83..c185bd5 100644 --- a/public_html/functions.php +++ b/public_html/functions.php @@ -7,15 +7,15 @@ function failure($reason, $httpcode, $ajax = true, $heading = NULL){ if($ajax){ # just echo the reason to the ajax response - echo $reason; + echo htmlentities($reason); exit } // TODO: Put pretty HTML here, please if($heading != NULL) - echo $heading; + echo htmlentities($heading); - echo $reason; + echo htmlentities($reason); # exit the script here exit; |
