Changeset 3939

Show
Ignore:
Timestamp:
04/26/07 03:11:29 (6 years ago)
Author:
diego_iastrubni
Message:

fix for ticket:1912

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/agi-bin/directory

    r3925 r3939  
    2323// where is voicemail stored? 
    2424define("VOICEMAIL_DIR", "/var/spool/asterisk/voicemail/%s/%d"); 
     25 
     26// where shold we store logs? (fixes #1912) 
     27define("LOG_DIR", "/var/log/asterisk/"); 
    2528 
    2629// set to 1 to say "zed" instead of "zee" 
     
    386389$agi = new AGI; 
    387390 
    388 if (DEBUG) $logfile = fopen("/tmp/directory.log","w"); 
     391if (DEBUG) $logfile = fopen( LOG_DIR . "directory.log","w"); 
    389392 
    390393$vmconf = array();