wapmorgan / Mp3Info

The fastest PHP library to extract mp3 meta information (duration, bitrate, samplerate and so on) and tags (id3v1, id3v2).
https://wapmorgan.github.io/Mp3Info/
GNU Lesser General Public License v3.0
139 stars 41 forks source link

Paths should be relative to working folder. #1

Closed kipr202 closed 7 years ago

kipr202 commented 7 years ago

Selects one folder back correctly.

kipr202 commented 7 years ago

dirname(__FILE__) marks directory path, and the ../, between folders is marked also as folder.

wapmorgan commented 7 years ago

Do you realize that this code will work only if working dir is any 1-level subfolder of package root folder?

wapmorgan commented 7 years ago

Why you want change these lines? Let me describe meaning of data/ files for you: you don't need to move or copy them to your working dir.