ups encode
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 3s
This commit is contained in:
parent
40ae06d4b6
commit
757dca8bf5
@ -117,7 +117,7 @@ class Dogs extends Page {
|
|||||||
if($answer['status']=='ok' && in_array($answer['filetype'],['jpeg','png','gif']))
|
if($answer['status']=='ok' && in_array($answer['filetype'],['jpeg','png','gif']))
|
||||||
$newphoto = $answer['url'];
|
$newphoto = $answer['url'];
|
||||||
else
|
else
|
||||||
return partial('error.html', ['errorTitle' => 'Error', 'errorMessage' => 'Fehler beim CDN Upload: '.json_decode($answer)]);
|
return partial('error.html', ['errorTitle' => 'Error', 'errorMessage' => 'Fehler beim CDN Upload: '.json_encode($answer,true)]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return partial('error.html', ['errorTitle' => 'Error', 'errorMessage' => 'Die Datei ist zu groß. Bitte eine kleinere Datei hochladen']);
|
return partial('error.html', ['errorTitle' => 'Error', 'errorMessage' => 'Die Datei ist zu groß. Bitte eine kleinere Datei hochladen']);
|
||||||
|
Reference in New Issue
Block a user