File: 0004-Use-getid3-class-from-the-php-getid3-package.patch

package info (click to toggle)
spip 4.4.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,760 kB
  • sloc: php: 299,702; javascript: 67,900; xml: 4,388; sh: 165; makefile: 92
file content (21 lines) | stat: -rw-r--r-- 716 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Mon, 3 Nov 2014 21:34:54 -0400
Subject: Use getid3 class from the php-getid3 package

---
 plugins-dist/medias/metadata/video.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins-dist/medias/metadata/video.php b/plugins-dist/medias/metadata/video.php
index 0f4683b..afe6760 100644
--- a/plugins-dist/medias/metadata/video.php
+++ b/plugins-dist/medias/metadata/video.php
@@ -27,7 +27,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
 function metadata_video($file) {
 	$meta = [];
 
-	include_spip('lib/getid3/getid3');
+	include_once('getid3/getid3.php');
 	$getID3 = new getID3();
 	$getID3->setOption(['tempdir' => _DIR_TMP]);