1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 02:39:47 +02:00

catalog clean up and admin index changes

This commit is contained in:
Karl 'vollmerk' Vollmer 2006-03-20 01:55:03 +00:00
parent b99e8307ac
commit eda7fd335c
12 changed files with 379 additions and 367 deletions

View file

@ -30,6 +30,9 @@ function log_event($username='Unknown',$event_name,$event_description,$log_name=
/* Set it up here to make sure it's _always_ the same */
$log_time = time();
/* must have some name */
if (!strlen($log_name)) { $log_name = 'ampache'; }
$log_filename = conf('log_path') . "/$log_name." . date("Ymd",$log_time) . ".log";
$log_line = date("Y-m-d H:i:s",$log_time) . " { $username } ( $event_name ) - $event_description \n";