From 19bef0eaf7b8c44c7b99da234571834ccc83f48b Mon Sep 17 00:00:00 2001 From: svncommit Date: Sat, 16 Sep 2006 22:58:51 +0000 Subject: code cleanup of HTML editing capability (round 1) --- program/include/bugs.inc | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'program/include') diff --git a/program/include/bugs.inc b/program/include/bugs.inc index bf4c572c8..946a910be 100644 --- a/program/include/bugs.inc +++ b/program/include/bugs.inc @@ -115,19 +115,4 @@ function log_bug($arg_arr) } } -function log_debug($filename, $text) -{ - global $CONFIG, $INSTALL_PATH; - - if (empty($CONFIG['log_dir'])) - $CONFIG['log_dir'] = $INSTALL_PATH.'logs'; - - // try to open specific log file for writing - if ($fp = @fopen($CONFIG['log_dir'].'/'.$filename, 'a')) - { - fwrite($fp, date("d-M-Y H:i:s", mktime()) . ' ' . $text . "\n"); - fclose($fp); - } -} - -?> \ No newline at end of file +?> -- cgit v1.2.3