/** * @param $file * @param $txt * @param $user * @param $code * @param $from */ function logit($file, $txt, $user, $code, $from) { global $tikilib; $line = $tikilib->get_ip_address() . " - {$user} - " . date('[m/d/Y:H:i:s]') . " \"{$txt}\" {$code} \"{$from}\""; lograw($file, $line); }
function logit($file, $txt, $user, $code, $from) { $line = $_SERVER['REMOTE_ADDR'] . " - {$user} - " . date('[m/d/Y:H:i:s]') . " \"{$txt}\" {$code} \"{$from}\""; lograw($file, $line); }
function logit($file, $txt, $user, $code, $from) { global $tikilib; $line = $tikilib->get_ip_address() . " - $user - " . date('[m/d/Y:H:i:s]') . " \"$txt\" $code \"$from\""; lograw($file, $line); }