]>
jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blob - Classes/class-log.php
14 $filename = "log/".date("Y-m-d")."log";
15 if (!file_exists($filename))
17 $open = fopen($filename, 'w');
18 $close = fclose($open);
21 function it(...$string)
23 foreach($string as $str)
25 if (UNREALIRCD_DEBUG
) {
26 highlight_string(var_export($str, true));
32 function do_log(...$strings)
38 function get_date($year, $month, $day, $hour, $minute)
40 return "$year-$month-$day" . "T
$hour-$minute" . "Z";