mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
Update Embedfiles.php
This commit is contained in:
parent
e4854a30f9
commit
da969ee56d
1 changed files with 2 additions and 2 deletions
|
@ -198,14 +198,14 @@ class Embedfiles extends Controller
|
|||
}
|
||||
break;
|
||||
case "text/vnd.abc":
|
||||
if (Addon::is_installed('abc')) {
|
||||
// if (Addon::is_installed('abc')) {
|
||||
$x = @file_get_contents('store/'. $channel['channel_address'] .'/'. $_POST['os_path']);
|
||||
if ($x) {
|
||||
$output .= "\n\n" . '[abc]' . $x . '[/abc]';
|
||||
} else {
|
||||
logger('unable to read ABC data file: ' . 'store/' . $channel['channel_address'] . '/' . $_POST['os_path']);
|
||||
}
|
||||
}
|
||||
// }
|
||||
break;
|
||||
default:
|
||||
return '';
|
||||
|
|
Loading…
Reference in a new issue