-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fff2dc3
commit a94fb70
Showing
2 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
|
||
///////////////////////////////////////////////////////////////// | ||
/// getID3() by James Heinrich <[email protected]> // | ||
// available at https://github.com/JamesHeinrich/getID3 // | ||
// or https://www.getid3.org // | ||
// or http://getid3.sourceforge.net // | ||
// see readme.txt for more details // | ||
///////////////////////////////////////////////////////////////// | ||
// // | ||
// module.misc.gpx.php // | ||
// module for analyzing gpx files // | ||
// dependencies: NONE // | ||
// /// | ||
///////////////////////////////////////////////////////////////// | ||
|
||
if (!defined('GETID3_INCLUDEPATH')) { // prevent path-exposing attacks that access modules directly on public webservers | ||
exit; | ||
} | ||
|
||
class getid3_gpx extends getid3_handler | ||
{ | ||
/** | ||
* @return bool | ||
*/ | ||
public function Analyze() { | ||
$info = &$this->getid3->info; | ||
|
||
$info['fileformat'] = 'gpx'; | ||
|
||
$this->error('gpx parsing not enabled in this version of getID3()'); | ||
return false; | ||
|
||
} | ||
|
||
} |