Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

added a check if HTTP_USER_AGENT is set - #3

#3
Merged
thingsym merged 1 commit into
thingsym:masterthingsym/multi-device-switcher:masterfrom
hykw:bugfixCopy head branch name to clipboard
Aug 27, 2014
Merged

added a check if HTTP_USER_AGENT is set#3
thingsym merged 1 commit into
thingsym:masterthingsym/multi-device-switcher:masterfrom
hykw:bugfixCopy head branch name to clipboard

Conversation

@hykw

@hykw hykw commented Aug 27, 2014

Copy link
Copy Markdown
Contributor

Some client, mainly crawlers, doesn't send User-Agent. I've added isset() for $_SERVER['HTTP_USER_AGENT'] because In those case, Notice error occurs.

thingsym added a commit that referenced this pull request Aug 27, 2014
added a check if HTTP_USER_AGENT is set
@thingsym
thingsym merged commit b438624 into thingsym:master Aug 27, 2014
@thingsym

Copy link
Copy Markdown
Owner

Awesome, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.