first commit

This commit is contained in:
chicpro
2013-03-14 09:21:54 +09:00
commit cc5063d012
1817 changed files with 131384 additions and 0 deletions

12
lib/etc.lib.php Normal file
View File

@ -0,0 +1,12 @@
<?
// 로그를 파일에 쓴다
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);
}
?>