diff --git a/plugins/Common.php b/plugins/Common.php index 0f7c30f..5d61445 100644 --- a/plugins/Common.php +++ b/plugins/Common.php @@ -17,10 +17,10 @@ Class Common { $logTime = date('Y-m-d H:i:s'); $logDir = __DIR__ . '/../runtime/friendscode/'; $logFilename = substr($cellphone, -6) . '.log'; - $logOk = @error_log("{$logTime} created\n", 3, "{$logDir}{$logFilename}"); + $logOk = @error_log("{$logTime} created by {$cellphone}\n", 3, "{$logDir}{$logFilename}"); if (!$logOk) { //try to mkdir @mkdir($logDir, 0700, true); - @error_log("{$logTime} created\n", 3, "{$logDir}{$logFilename}"); + @error_log("{$logTime} created by {$cellphone}\n", 3, "{$logDir}{$logFilename}"); } }