@@ -108,7 +108,7 @@ |
||
108 | 108 | ->addType('audio/mp4') |
109 | 109 | ->addType('audio/webm') |
110 | 110 | ->addType('image/jpeg', '19MB') |
111 | - ->addType('image/png', '19MB') |
|
111 | + ->addType('image/png', '19MB') |
|
112 | 112 | ->addType('image/svg+xml') |
113 | 113 | ->addType('text/plain') |
114 | 114 | ->addType('video/mp4') |
@@ -77,7 +77,7 @@ |
||
77 | 77 | $this->addBehavior( |
78 | 78 | 'Proffer.Proffer', |
79 | 79 | [ |
80 | - 'avatar' => [ // The name of your upload field (filename) |
|
80 | + 'avatar' => [// The name of your upload field (filename) |
|
81 | 81 | 'root' => $avatarRootDir, |
82 | 82 | 'dir' => 'avatar_dir', // field for upload directory |
83 | 83 | 'thumbnailSizes' => [ |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | throw new \InvalidArgumentException( |
67 | 67 | 'Parent posting for creating a new answer not found.', |
68 | 68 | 1564756571 |
69 | - ) ; |
|
69 | + ); |
|
70 | 70 | } |
71 | 71 | $parentId = $parent->get('id'); |
72 | 72 | $categoryId = $parent->get('category_id'); |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | throw new \InvalidArgumentException( |
82 | 82 | 'New root posting requires a category.', |
83 | 83 | 1564756571 |
84 | - ) ; |
|
84 | + ); |
|
85 | 85 | } |
86 | 86 | $categoryId = (int)$data['category_id']; |
87 | 87 | } |