misc changes

This commit is contained in:
flash 2016-09-16 21:07:27 +02:00
parent 858ebeb1fa
commit 45b9ca91e4
2 changed files with 1 additions and 3 deletions

View file

@ -57,8 +57,6 @@ class FileController extends Controller
*/ */
private function upload($mode, $file, $user) private function upload($mode, $file, $user)
{ {
$error = null;
// Handle errors // Handle errors
switch ($file['error']) { switch ($file['error']) {
case UPLOAD_ERR_OK: case UPLOAD_ERR_OK:

View file

@ -61,7 +61,7 @@ class ExceptionHandler
$debug = config('dev.show_errors'); $debug = config('dev.show_errors');
if (true) { if ($debug) {
header('Content-Type: text/plain'); header('Content-Type: text/plain');
echo $ex; echo $ex;
} else { } else {