Magento News
how to get the magento developer ip
Hi,
I use this code to have a js popup on each side telling visitors that the shop is not productive:
<?php
$ip = $_SERVER['REMOTE_ADDR'];
if ($ip == 'xxx.xxx.xxx.xxx' OR $ip == 'xxx.xxx.xxx.xx') { ?>
You are a developer
<?php } else { ?>
You are a visitor
<?php } ?>
My Question is, how can I use the developer Ip from the magento backend in this code
->System -> Configuration -> Developer -> Developer Client Restrictions
Best regards
Nico
how to get the magento developer ip
Possibly Related Posts:
- Database query different results
- Menu highlight in magento under admin
- magento disable a banner on certain category pages or have a banner with multiple links
- Magento, using ACL for frontend. Possible?
- Magento IE-7 Fix In Windows XP
RSS Feed