diff options
| author | pantsucat <contact@pantsu.cat> | 2015-09-19 02:02:36 +0200 |
|---|---|---|
| committer | pantsucat <contact@pantsu.cat> | 2015-09-19 02:02:48 +0200 |
| commit | 274e8063d3761659243044a20ee1dc06f7414fdc (patch) | |
| tree | c095fa2f4e02b2fa27ff8c3209e56c17a766527b | |
| parent | a7f18c03cc5f11fb1a86e368bb85f476d30370f1 (diff) | |
| parent | 8574c83cc5043ff9d5951e36d98eab85563e0503 (diff) | |
Resolve merge conflicts
| -rw-r--r-- | README.md | 5 | ||||
| -rw-r--r-- | dist.zip | bin | 0 -> 173304 bytes | |||
| -rwxr-xr-x | static/classes/Response.class.php | 5 |
3 files changed, 4 insertions, 6 deletions
@@ -12,7 +12,7 @@ The assets are minified and combined using [Grunt](http://gruntjs.com/). Assuming you already have Node and NPM working, compilation is easy. Use the following shell code: -#### Apache +## Apache If you are running Apache and want to compress your output when serving files, add to your `.htaccess` file: ======= ``` @@ -56,8 +56,6 @@ configuration file. * Clean up Moe code, a lot.. * API keys? -## Contact -I can be contacted via hostmaster@pantsu.cat. ======= ## License @@ -67,3 +65,4 @@ license. See LICENSE. ## Contact The maintainer can be contacted via hostmaster@pantsu.cat. + diff --git a/dist.zip b/dist.zip Binary files differnew file mode 100644 index 0000000..89690f7 --- /dev/null +++ b/dist.zip 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; |
