summaryrefslogtreecommitdiff
path: root/controllers
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2015-05-13 15:49:14 -0700
committerAaron Parecki <aaron@parecki.com>2015-05-13 15:49:14 -0700
commit95c8b73585eb397a31c5a658b2fefe2208bef522 (patch)
tree443bacdbef5d1fd7b0d35fc28d9148933b25f7e9 /controllers
parentd6a2dddc5b96eb943faae8e64b5890159026b5e3 (diff)
remove the extra space
Diffstat (limited to 'controllers')
-rw-r--r--controllers/editor.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/editor.php b/controllers/editor.php
index 232e0d5..71d9f4b 100644
--- a/controllers/editor.php
+++ b/controllers/editor.php
@@ -31,7 +31,7 @@ $app->post('/editor/upload', function() use($app) {
// Fake a file uploader by echo'ing back the data URI
$fn = $_FILES['files']['tmp_name'][0];
$imageData = base64_encode(file_get_contents($fn));
- $src = 'data: '.mime_content_type($fn).';base64,'.$imageData;
+ $src = 'data:'.mime_content_type($fn).';base64,'.$imageData;
$app->response()['Content-type'] = 'application/json';
$app->response()->body(json_encode([