Support for WYSIWYG upload
This commit is contained in:
@@ -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" );
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user