Added comment
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
c01190fac2
commit
02c80ff18a
1 changed files with 9 additions and 0 deletions
|
@ -26,6 +26,15 @@ class StorageHelper
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This determines the file types that should be allowed inline and checks their fileinfo extension
|
||||||
|
*
|
||||||
|
* @author <A. Gianotto> [<snipe@snipe.net]>
|
||||||
|
* @since v7.0.14
|
||||||
|
* @param $file_with_path
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
public static function allowSafeInline($file_with_path) {
|
public static function allowSafeInline($file_with_path) {
|
||||||
|
|
||||||
$allowed_inline = [
|
$allowed_inline = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue