Ok, the comma is the problem. i changed it hard into class.forms.php to: "maxfilesize: 0.25," and it works now but this is not the solution. I think this is a comma / dot problem during calculation. Server is german so the comma is the default seperator."maxfilesize: <?php echo ($config ?: 1048576) / 1048576; ?>,"I fixed it now with str_replace but .... i dont know^^