최초 커밋
This commit is contained in:
commit
c8f5efb6b7
14652 files changed
+4812531
No files matched your search
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit;
|
||||
|
||||
// 로그를 파일에 쓴다
|
||||
function write_log($file, $log) {
|
||||
$fp = fopen($file, "a+");
|
||||
ob_start();
|
||||
print_r($log);
|
||||
$msg = ob_get_contents();
|
||||
ob_end_clean();
|
||||
fwrite($fp, $msg);
|
||||
fclose($fp);
|
||||
}
|
||||
Reference in new issue
Block a user