Created
May 9, 2016 13:28
-
-
Save osben/35ad9b2221be45511535c9f5c23cfb95 to your computer and use it in GitHub Desktop.
detect "Speed Insights" in Smarty PHP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if strpos($smarty.server.HTTP_USER_AGENT, "Speed Insights" ) == false} | |
// hidden for Speed Insights | |
{/if} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment