Support for WYSIWYG upload

This commit is contained in:
2024-12-24 15:52:25 +01:00
parent 71124ab014
commit a553beafd5
3 changed files with 25 additions and 4 deletions

View File

@@ -332,6 +332,18 @@ if ($pos !== false) {
$HPR_Names = "Hackers";
}
// General allowed Settings
$allowed_content_type = array( "application/json", "application/octet-stream", "application/ogg", "application/x-subrip", "audio/flac", "audio/mpeg", "audio/ogg", "audio/x-flac", "audio/x-wav", "image/jpeg", "image/png", "text/plain", "text/plain", "text/vtt", "text/x-c" );
$allowed_extensions = array("wav", "flac", "opus", "ogg", "spx", "mp3", "jpg", "png", "json", "srt", "tsv", "txt", "vtt");
$allowed_extensions_common = array("opus", "ogg", "spx", "mp3", "jpg", "png", "json", "srt", "tsv", "txt", "vtt");
#$ccdn_hosts_common = array("alpha.nl.eu.mirror.hackerpublicradio.org", "hpr.nyc3.cdn.digitaloceanspaces.com" );
$ccdn_hosts_common = array("alpha.nl.eu.mirror.hackerpublicradio.org", "hpr.nyc3.cdn.digitaloceanspaces.com" );
#$ccdn_hosts_common = array( "hpr.nyc3.cdn.digitaloceanspaces.com" );
$ccdn_hosts_complete = array( "archive.org" );
?>