diff --git a/src/Mp3Info.php b/src/Mp3Info.php index f19c349..9168c56 100644 --- a/src/Mp3Info.php +++ b/src/Mp3Info.php @@ -1036,7 +1036,7 @@ class Mp3Info { * @throws \Exception */ public static function isValidAudio($filename) { - if (!file_exists($filename) && strpos($filename, '://')) { + if (!file_exists($filename) && strpos($filename, '://') == false) { throw new Exception('File ' . $filename . ' is not present!'); }