Changeset 5644 for modules/branches

Show
Ignore:
Timestamp:
02/02/08 15:22:56 (5 years ago)
Author:
p_lindheimer
Message:

redirect error to stdout when copying uploaded sound files so any error messages from failed copies will be captured and printed in the error report

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.4/recordings/page.recordings.php

    r4898 r5644  
    7474        echo "make sure you uploaded or recorded a file with the entered extension<hr>"; 
    7575      } else { 
    76         exec("cp " . $recordings_save_path . "{$dest}ivrrecording.$suffix " . $astsnd."custom/{$filename}.$suffix", $outarray, $ret); 
     76        exec("cp " . $recordings_save_path . "{$dest}ivrrecording.$suffix " . $astsnd."custom/{$filename}.$suffix 2>&1", $outarray, $ret); 
    7777        if (!$ret) { 
    7878          $isok = recordings_add($rname, "custom/{$filename}.$suffix");