summaryrefslogtreecommitdiff
path: root/static/classes/Response.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'static/classes/Response.class.php')
-rwxr-xr-xstatic/classes/Response.class.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/static/classes/Response.class.php b/static/classes/Response.class.php
index b7e4c5d..c340a4c 100755
--- a/static/classes/Response.class.php
+++ b/static/classes/Response.class.php
@@ -16,8 +16,7 @@ class Response
header('Content-Type: text/plain; charset=UTF-8');
$this->type = $response_type;
break;
-
- case 'html':
+ case 'html':
header('Content-Type: text/html;charset=utf-8');
$this->type = 'html';
break;
@@ -129,7 +128,7 @@ class Response
private static function html_success($files)
{
foreach ($files as $file) {
- $result .= '<a href="'.$file['url'].'">'.$file['url'].'</a><br>';
+ $result .= "<a href=\"".$file['url']."\">".$file['url']."</a><br>";
}
return $result;