Merge pull request #23 from paurakhsharma/patch-1
Fix isValidAudio logic for remote URL
This commit is contained in:
commit
e24b66463f
@ -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!');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user