mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-29 16:36:07 +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'])) {
|
||||
// File form path
|
||||
$path = $filePath['filePath'];
|
||||
|
||||
// Remove leading @ symbol
|
||||
if (0 === strpos($path, '@')) {
|
||||
$path = substr($path, 1);
|
||||
}
|
||||
|
||||
$resource = fopen($path, 'r');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user