]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - vendor/james-heinrich/getid3/getid3/module.misc.pdf.php
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / vendor / james-heinrich / getid3 / getid3 / module.misc.pdf.php
diff --git a/vendor/james-heinrich/getid3/getid3/module.misc.pdf.php b/vendor/james-heinrich/getid3/getid3/module.misc.pdf.php
new file mode 100644 (file)
index 0000000..e8d25cb
--- /dev/null
@@ -0,0 +1,31 @@
+<?php
+/////////////////////////////////////////////////////////////////
+/// getID3() by James Heinrich <info@getid3.org>               //
+//  available at http://getid3.sourceforge.net                 //
+//            or http://www.getid3.org                         //
+//          also https://github.com/JamesHeinrich/getID3       //
+/////////////////////////////////////////////////////////////////
+// See readme.txt for more details                             //
+/////////////////////////////////////////////////////////////////
+//                                                             //
+// module.misc.pdf.php                                         //
+// module for analyzing PDF files                              //
+// dependencies: NONE                                          //
+//                                                            ///
+/////////////////////////////////////////////////////////////////
+
+
+class getid3_pdf extends getid3_handler
+{
+
+       public function Analyze() {
+               $info = &$this->getid3->info;
+
+               $info['fileformat'] = 'pdf';
+
+               $this->error('PDF parsing not enabled in this version of getID3() ['.$this->getid3->version().']');
+               return false;
+
+       }
+
+}