- if (!is_dir("log/"))
- mkdir("log/");
- $filename = "log/".date("Y-m-d")."log";
- if (!file_exists($filename))
- {
- $open = fopen($filename, 'w');
- $close = fclose($open);
- }
- }
- function it(...$string)
- {
- foreach($string as $str)
- {
- if (UNREALIRCD_DEBUG) {
- highlight_string(var_export($str, true));
- }
- }
- }
+ /*
+ if (!is_dir("log/"))
+ mkdir("log/");
+ $filename = "log/".date("Y-m-d")."log";
+ if (!file_exists($filename))
+ {
+ $open = fopen($filename, 'w');
+ $close = fclose($open);
+ } */
+ }
+ function it(...$string)
+ {
+ foreach($string as $str)
+ {
+ if (get_config("debug")) {
+ highlight_string(var_export($str, true));
+ }
+ }
+ }