protected function ServletConfig::addTrailingSlash in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7
1 call to ServletConfig::addTrailingSlash()
- ServletConfig::getParameter in vendor/
edsdk/ file-uploader-server-php/ src/ servlet/ ServletConfig.php
File
- vendor/
edsdk/ file-uploader-server-php/ src/ servlet/ ServletConfig.php, line 39
Class
Namespace
EdSDK\FileUploaderServer\servletCode
protected function addTrailingSlash($value, $doAddTrailingSlash) {
if ($value != null && $doAddTrailingSlash && (strlen($value) == 0 || !substr($value, strlen($value) - 1) == "/")) {
$value .= "/";
}
return $value;
}