16 lines
175 B
PHP
16 lines
175 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* Logs text to file
|
||
|
*/
|
||
|
function botlog($text)
|
||
|
{
|
||
|
if ($file = fopen(LOGFILE, 'a'))
|
||
|
{
|
||
|
fwrite($file, $text);
|
||
|
fclose($file);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|