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