mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
parent
c8bf048c00
commit
802bc6cc4d
1 changed files with 2 additions and 2 deletions
|
@ -220,8 +220,8 @@ class Embedfiles extends Controller
|
|||
case "text/bbcode":
|
||||
case "text/markdown":
|
||||
case "text/html":
|
||||
// case "text/plain":
|
||||
// case "application/json":
|
||||
case "text/plain":
|
||||
case "application/json":
|
||||
$content = @file_get_contents('store/'. $channel['channel_address'] .'/'. $_POST['os_path']);
|
||||
if ($content) {
|
||||
$text = z_input_filter($content, $_POST['filetype']);
|
||||
|
|
Loading…
Reference in a new issue