Changeset 6675
- Timestamp:
- 09/09/08 14:32:14 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.5/amp_conf/htdocs/admin/functions.inc.php
r6601 r6675 3584 3584 function freepbx_debug($string, $option='a', $filename='/tmp/freepbx_debug.log') { 3585 3585 $fh = fopen($filename,$option); 3586 fwrite($fh,$string."\n"); 3586 if (is_array($string)) { 3587 fwrite($fh,print_r($string,true)."\n"); 3588 } else { 3589 fwrite($fh,$string."\n"); 3590 } 3587 3591 fclose($fh); 3588 3592 }
