mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-04-12 02:01:52 +02:00
Fix TCPDF_STATIC::fileGetContents()
Currently only the first path in the `$alt` array gets checked. This pull request fixes this so that all paths are checked.
This commit is contained in:
parent
367241059c
commit
b83e325c38
@ -1926,7 +1926,7 @@ class TCPDF_STATIC {
|
||||
$alt = array_unique($alt);
|
||||
foreach ($alt as $path) {
|
||||
if (!self::file_exists($path)) {
|
||||
return false;
|
||||
continue;
|
||||
}
|
||||
$ret = @file_get_contents($path);
|
||||
if ($ret !== false) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user