From 3ef3e8e8198d26493bdfba50ee29c9e16cf6ad87 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Fri, 28 Feb 2020 10:13:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=90=BD=E5=9C=B0=E9=A1=B5useragent=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/HomeController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php index ffac24eea..7077e3e01 100644 --- a/Application/Home/Controller/HomeController.class.php +++ b/Application/Home/Controller/HomeController.class.php @@ -177,7 +177,7 @@ class HomeController extends Controller if(!is_dir($tempDataDir)) { @mkdir($tempDataDir); } - $testStr = date('Y-m-d H:i:s') . ' - ' . $testKey . ' - ' . Request::getUserAgent(); + $testStr = date('Y-m-d H:i:s') . ' - ' . $testKey . ' - ' . Request::getUserAgent() . PHP_EOL; file_put_contents($tempDataDir . '/langding_page.log', $testStr, FILE_APPEND); }