From: <gi...@us...> - 2007-07-04 18:28:23
|
Update of /cvsroot/tikiwiki/tiki/lib/trackers In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31019/lib/trackers Modified Files: trackerlib.php Log Message: MP3 ans FLV video streaming works on trackers (I am testing again) Index: trackerlib.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/trackers/trackerlib.php,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- trackerlib.php 3 Jul 2007 16:03:33 -0000 1.206 +++ trackerlib.php 4 Jul 2007 18:28:18 -0000 1.207 @@ -844,9 +844,11 @@ } else if( $ins_fields["data"][$i]['value'] != '' ) { $opts = split(',', $ins_fields['data'][$i]["options"]); global $filegallib; include_once ("lib/filegals/filegallib.php"); - $fileGalId=$filegallib->insert_file($MultimediaGalerie,$ins_fields["data"][$i]["file_name"] ,$ins_fields["data"][$i]["file_name"] , $ins_fields["data"][$i]["file_name"] ,$ins_fields["data"][$i]["value"] ,$ins_fields["data"][$i]["file_size"] ,$ins_fields["data"][$i]["file_type"] , "system",time() , '', "system", $created='', $lockedby=NULL) ; + global $MultimediaGalerie; + $fileGalId=$filegallib->insert_file($MultimediaGalerie,$ins_fields["data"][$i]["file_name"] ,$ins_fields["data"][$i]["file_name"] , $ins_fields["data"][$i]["file_name"] ,$ins_fields["data"][$i]["value"] ,$ins_fields["data"][$i]["file_size"] ,$ins_fields["data"][$i]["file_type"] , $user,"" , '', "system", time(), $lockedby=NULL) ; + $ins_fields["data"][$i]['value']=$fileGalId; - if (!$fileId) { + if (!$fileGalId) { $errors[] = tra('Upload was not successful. Duplicate file content ?'). ': ' . $name; // if (($fgal_use_db == 'n') || ($podCastGallery)) { // @unlink($savedir . $fhash); |