bug fix for all audio handling scripts

logging fix for ALL_inbound/_outbound and vdc_db_query.php scripts for specific situations on blended call handling systems

git-svn-id: svn://192.168.202.10@931 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2008-08-04 23:14:42 +00:00
parent 60abdae402
commit 0ceb204008
14 changed files with 68 additions and 36 deletions
@@ -205,7 +205,7 @@ $i=0;
foreach(@FILES)
{
$FILEsize1[$i] = 0;
if ( (length($FILES[$i]) > 4) && (!-d $FILES[$i]) )
if ( (length($FILES[$i]) > 4) && (!-d "$dir1/$FILES[$i]") )
{
$FILEsize1[$i] = (-s "$dir1/$FILES[$i]");
if ($DBX) {print "$FILES[$i] $FILEsize1[$i]\n";}
@@ -222,7 +222,7 @@ foreach(@FILES)
{
$FILEsize2[$i] = 0;
if ( (length($FILES[$i]) > 4) && (!-d $FILES[$i]) )
if ( (length($FILES[$i]) > 4) && (!-d "$dir1/$FILES[$i]") )
{
$FILEsize2[$i] = (-s "$dir1/$FILES[$i]");