public function ServletConfig::getAllowedExtensions in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7
Overrides IConfig::getAllowedExtensions
File
- vendor/
edsdk/ file-uploader-server-php/ src/ servlet/ ServletConfig.php, line 91
Class
Namespace
EdSDK\FileUploaderServer\servletCode
public function getAllowedExtensions() {
$value = $this
->getParameterStr("allowedExtensions", null);
if ($value === null) {
return [];
}
$exts = explode(",", $value);
for ($i = 0; $i < count($exts); $i++) {
$exts[$i] = strtolower($exts[$i]);
}
return $exts;
}