落地页useragent记录

master
ELF 5 years ago
parent 0105fafcb3
commit 3ef3e8e819

@ -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);
}

Loading…
Cancel
Save