Make the check case-insensitive

This commit is contained in:
Leo Feyer 2018-09-11 10:26:06 +02:00
parent 9f0350dca7
commit 7174bfea73

View File

@ -6845,7 +6845,7 @@ class TCPDF {
if ($wrapper === 'http' || $wrapper === 'https') {
continue;
}
if (strpos($file, $wrapper.'://') === 0) {
if (stripos($file, $wrapper.'://') === 0) {
$this->Error('Stream wrappers in file paths are not supported');
}
}