Skip to content

ValeriiVasyliev/Smarty-Function-Check-Search-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Smarty {is_secured_request} function plugin

Checking whether the agent is a search bot

Install

Copy to directory smarty/libs/plugins

Example

{is_secured_request assign="is_secured_request_status"}

{if $is_secured_request_status}

    {* your code *}

{/if}
{is_secured_request ip = "127.0.0.1" agent = "google" assign="is_secured_request_status"}

{if $is_secured_request_status}

    {* your code *}

{/if}

About

Smarty Function Check Search Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages