wavs 디렉토리 절대경로에서 상대경로로 변경

This commit is contained in:
gnuboard
2013-01-04 15:16:15 +09:00
parent 7fb3a13922
commit 3dfea05d47
3 changed files with 4 additions and 15 deletions

View File

@ -2,8 +2,8 @@
include_once("./_common.php");
// prepare an array of wavfiles
$lc ='/home/tmp/g4s/plugin/captcha/wavs/';
$wav = $lc.'captcha.wav';
$wavs_dir = $g4['path'].'/plugin/captcha/wavs/';
$wav = $wavs_dir.'0.wav';
$fields = join('/',array( 'H8ChunkID', 'VChunkSize', 'H8Format',
'H8Subchunk1ID', 'VSubchunk1Size',