3 /////////////////////////////////////////////////////////////////
4 /// getID3() by James Heinrich <info@getid3.org> //
5 // available at https://github.com/JamesHeinrich/getID3 //
6 // or https://www.getid3.org //
7 // or http://getid3.sourceforge.net //
8 // see readme.txt for more details //
9 /////////////////////////////////////////////////////////////////
11 // module.misc.par2.php //
12 // module for analyzing PAR2 files //
13 // dependencies: NONE //
15 /////////////////////////////////////////////////////////////////
17 if (!defined('GETID3_INCLUDEPATH')) { // prevent path-exposing attacks that access modules directly on public webservers
21 class getid3_par2
extends getid3_handler
26 public function Analyze() {
27 $info = &$this->getid3
->info
;
29 $info['fileformat'] = 'par2';
31 $this->error('PAR2 parsing not enabled in this version of getID3()');