Update of /cvsroot/linpha/linpha/functions
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv23795/functions
Modified Files:
image.php
Log Message:
fixed -> Notice: Constant GETID3_HELPERAPPSDIR already defined in create_all_thumbs.php
Index: image.php
===================================================================
RCS file: /cvsroot/linpha/linpha/functions/image.php,v
retrieving revision 1.116
retrieving revision 1.117
diff -C2 -d -r1.116 -r1.117
*** image.php 20 Feb 2007 11:54:06 -0000 1.116
--- image.php 27 Feb 2008 07:41:54 -0000 1.117
***************
*** 591,595 ****
*/
include_once(TOP_DIR.'/plugins/getid3/getid3.php');
! define('GETID3_HELPERAPPSDIR', TOP_DIR); // needs to be set to a valid dir, otherwise it doesn't work under windows
$getID3 = new getID3;
$file_info = $getID3->analyze($src_file);
--- 591,600 ----
*/
include_once(TOP_DIR.'/plugins/getid3/getid3.php');
! if(!defined('GETID3_HELPERAPPSDIR'))
! {
! // needs to be set to a valid dir, otherwise it doesn't
! // work under windows
! define('GETID3_HELPERAPPSDIR', TOP_DIR);
! }
$getID3 = new getID3;
$file_info = $getID3->analyze($src_file);
|