Changeset 8392 for freepbx/trunk/amp_conf
- Timestamp:
- 09/24/09 06:18:32 (4 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/functions.inc.php
r8271 r8392 3663 3663 function freepbx_debug($string, $option='a', $filename='/tmp/freepbx_debug.log') { 3664 3664 $fh = fopen($filename,$option); 3665 fwrite($fh,date("Y-M-d H:i:s")."\n");//add timestamp 3665 3666 if (is_array($string)) { 3666 3667 fwrite($fh,print_r($string,true)."\n"); … … 3669 3670 } 3670 3671 fclose($fh); 3672 } 3673 //lazy, I mean efficient, alias for function freepbx_debug 3674 function dbug(){ 3675 $args=func_get_args(); 3676 call_user_func_array(freepbx_debug,$args); 3671 3677 } 3672 3678
