diff options
| author | WubTheCaptain <wub@partyvan.eu> | 2015-09-18 05:32:38 +0200 |
|---|---|---|
| committer | pantsucat <contact@pantsu.cat> | 2015-09-18 06:38:09 +0200 |
| commit | a3025ca5bb4113ec069770d9b24659a3e229ec9d (patch) | |
| tree | 137ac3c63fa3cb86c7ebff7cc69cc1831a3141f2 /static | |
| parent | 064faa9a4cdd7841c91cf3e86c73dded4f491b46 (diff) | |
Fix whitespace
Diffstat (limited to 'static')
| -rwxr-xr-x | static/classes/Response.class.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/static/classes/Response.class.php b/static/classes/Response.class.php index 951e39e..b7e4c5d 100755 --- a/static/classes/Response.class.php +++ b/static/classes/Response.class.php @@ -17,7 +17,7 @@ class Response $this->type = $response_type; break; - case 'html': + case 'html': header('Content-Type: text/html;charset=utf-8'); $this->type = 'html'; break; @@ -118,7 +118,7 @@ class Response $result .= $file['url']."\n"; } - return $result; + return $result; } private static function html_error($code, $description) @@ -129,10 +129,10 @@ 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; + return $result; } private static function json_error($code, $description) |
