mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2025-02-18 05:43:15 +03:00
removed @ condition
This commit is contained in:
parent
d0f6d3b70f
commit
bae524d854
@ -249,12 +249,6 @@ class EmailValidationV4 extends HttpApi
|
|||||||
} elseif (isset($filePath['filePath'])) {
|
} elseif (isset($filePath['filePath'])) {
|
||||||
// File form path
|
// File form path
|
||||||
$path = $filePath['filePath'];
|
$path = $filePath['filePath'];
|
||||||
|
|
||||||
// Remove leading @ symbol
|
|
||||||
if (0 === strpos($path, '@')) {
|
|
||||||
$path = substr($path, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
$resource = fopen($path, 'r');
|
$resource = fopen($path, 'r');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user