]>
jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blob - Classes/class-log.php
15 $filename = "log/".date("Y-m-d")."log";
16 if (!file_exists($filename))
18 $open = fopen($filename, 'w');
19 $close = fclose($open);
22 function it(...$string)
24 foreach($string as $str)
26 if (get_config("debug")) {
27 highlight_string(var_export($str, true));
33 function do_log(...$strings)
39 function get_date($year, $month, $day, $hour, $minute)
41 return "$year-$month-$day" . "T
$hour-$minute" . "Z";