Video Upload
This commit is contained in:
@@ -31,7 +31,11 @@ define('UPLOAD_THUMB_DIR', __DIR__ . '/hedgehogs/uploads/thumbs');
|
||||
// Öffentliche Basis-URL zu genau diesen Ordnern
|
||||
define('UPLOAD_BASE_URL', 'https://api.windesign.at/hedgehogs/uploads');
|
||||
|
||||
define('MAX_IMAGE_SIZE', 8 * 1024 * 1024);
|
||||
define('MAX_IMAGE_SIZE', 8 * 1024 * 1024); // Legacy Limit f�r Bilder
|
||||
// Neues, gemeinsames Limit f�r Bilder/Videos (an php.ini upload_max_filesize anpassen!)
|
||||
if (!defined('MAX_MEDIA_SIZE')) {
|
||||
define('MAX_MEDIA_SIZE', 250 * 1024 * 1024); // 250 MB
|
||||
}
|
||||
if (!defined('ALLOWED_MIME')) {
|
||||
define('ALLOWED_MIME', json_encode(['image/jpeg','image/png','image/webp','image/gif']));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user