Skip to content

Commit

Permalink
Merge pull request #10 from Comsenz/site-open-admin
Browse files Browse the repository at this point in the history
remvoe test log
  • Loading branch information
ahuchjm authored Nov 11, 2020
2 parents a31a1b8 + 51865e6 commit 69c17ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function requestFrom()
if (strstr($serverStr, 'miniprogram') || strstr($headersStr, 'miniprogram')) {
return PubEnum::MinProgram;
}
app('log')->info('get_request_from_for_test_' . json_encode(['headers' => $headers, 'server' => $server], 256));
// app('log')->info('get_request_from_for_test_' . json_encode(['headers' => $headers, 'server' => $server], 256));
$requestFrom = PubEnum::PC;
// 如果有HTTP_X_WAP_PROFILE则一定是移动设备
if (isset($server['HTTP_X_WAP_PROFILE'])) {
Expand Down

0 comments on commit 69c17ef

Please sign in to comment.