Changeset 6839

Show
Ignore:
Timestamp:
09/24/08 09:47:16 (2 months ago)
Author:
sasargen
Message:

ARI: fix play_page.php to pass recindex instead of path of file to play

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/ari_changes/amp_conf/htdocs/recordings/misc/play_page.php

    r6510 r6839  
    2222<?php 
    2323 
    24   $path = urlencode($_GET['recording'])
     24  $path = $_SESSION['ari_user']['recfiles'][$_REQUEST['recindex']]
    2525 
    2626  if (isset($path)) { 
    2727 
    28     echo("<embed width='100%' src='audio.php?recording=" . $path . "' width=300, height=25 autoplay=true loop=false></embed><br>"); 
     28    echo("<embed width='100%' src='audio.php?recindex=" . $_REQUEST['recindex'] . "' width=300, height=25 autoplay=true loop=false></embed><br>"); 
    2929  } 
    3030  echo("<script language='javascript'>parent.document.getElementById('pb_load_inprogress').value='false';</script>"); 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads