Update Embedfiles.php

This commit is contained in:
Ray 2023-03-13 10:49:36 -04:00
parent e4854a30f9
commit da969ee56d

View file

@ -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 '';