mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
Update Embedfiles.php
testing
This commit is contained in:
parent
aec14573cb
commit
10e409438f
1 changed files with 3 additions and 0 deletions
|
@ -194,12 +194,15 @@ class Embedfiles extends Controller
|
|||
case "text/plain":
|
||||
case "application/json":
|
||||
$content = @file_get_contents('store/'. $channel['channel_address'] .'/'. $_POST['os_path']);
|
||||
$output .= "\n\n" . $content . "\n\n";
|
||||
/*
|
||||
if ($content) {
|
||||
$text = z_input_filter($content, $_POST['filetype']);
|
||||
if ($text) {
|
||||
$output .= "\n\n" . $text . "\n\n";
|
||||
}
|
||||
}
|
||||
*/
|
||||
break;
|
||||
default:
|
||||
return '';
|
||||
|
|
Loading…
Reference in a new issue