My favorites | Sign in
Logo
             
Search
for
Updated Feb 22, 2009 by pkollitsch
GhoIfLocalhost  
simple plugin to evaluate if the page is rendered on a localhost or a webserver

gho_if_localhost

Overview

This plugin evaluates if the site is rendered on a local installation (development version of a website) or on the webserver online. I use it to show Google-ads only in the running version of my websites and not on local installations for development purposes.

Download

Usage

<txp:gho_if_localhost> Local version, no ads are shown <txp:else/> Online version, lots of ads ;) </txp:gho_if_localhost>

History

v.2007.1

Hosted by Google Code