Merge branch 'hotfix/log-landing-page' into release

master
ELF 5 years ago
commit 350fd45b40

@ -177,7 +177,7 @@ class HomeController extends Controller
if(!is_dir($tempDataDir)) { if(!is_dir($tempDataDir)) {
@mkdir($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); file_put_contents($tempDataDir . '/langding_page.log', $testStr, FILE_APPEND);
} }

Loading…
Cancel
Save