'$qcomment' => $qcomment,
'$rand_num' => Crypto::randomDigits(12),
// Dropzone
- //'$max_imagesize' => DI::config()->get('system', 'maximagesize'),
- // don't know, if DI::config.. does not work here, so it is set to a manual value
- '$max_imagesize' => 100000,
+ '$max_imagesize' => DI::config()->get('system', 'maximagesize'),
]);
}
}
'$qcomment' => $qcomment,
'$rand_num' => Crypto::randomDigits(12),
// Dropzone
- //'$max_imagesize' => DI::config()->get('system', 'maximagesize'),
- // don't know, if DI::config.. does not work here, so it is set to a manual value
- '$max_imagesize' => 200000
+ '$max_imagesize' => DI::config()->get('system', 'maximagesize'),
]);
}
'$qcomment' => $qcomment,
'$rand_num' => Crypto::randomDigits(12),
// Dropzone
- //'$max_imagesize' => DI::config()->get('system', 'maximagesize'),
- // don't know, if DI::config.. does not work here, so it is set to a manual value
- '$max_imagesize' => 300000
+ '$max_imagesize' => DI::config()->get('system', 'maximagesize'),
]);
}
}
use Friendica\Network\HTTPException;
use Friendica\Util\Crypto;
use Friendica\Util\Profiler;
+use Friendica\DI;
use Psr\Log\LoggerInterface;
/**
'$compose_link_title' => $this->t('Open Compose page'),
// Dropzone
- //'$max_imagesize' => DI::config()->get('system', 'maximagesize'),
- // DI::config.. does not work here, so it is set to a manual value
- '$max_imagesize' => 500000,
-
+ '$max_imagesize' => DI::config()->get('system', 'maximagesize'),
]);
return $output;