summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-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 951e39e..c340a4c 100755
--- a/static/classes/Response.class.php
+++ b/static/classes/Response.class.php
@@ -16,7 +16,6 @@ class Response
header('Content-Type: text/plain; charset=UTF-8');
$this->type = $response_type;
break;
-
case 'html':
header('Content-Type: text/html;charset=utf-8');
$this->type = 'html';
@@ -118,7 +117,7 @@ class Response
$result .= $file['url']."\n";
}
- return $result;
+ return $result;
}
private static function html_error($code, $description)
@@ -132,7 +131,7 @@ class Response
$result .= "<a href=\"".$file['url']."\">".$file['url']."</a><br>";
}
- return $result;
+ return $result;
}
private static function json_error($code, $description)