Peppermint Tea

How to: Exclude Multiple IP Addresses

Posted 28 March 2006 in Tips by Sam Brown -

I get asked this question a lot, perhaps this isn’t as obvious as it could be!

Note
You will need to be using the Advanced Method of adding Mint to your pages described in /mint/?instructions for this to work.

Open & Edit
Open the file /mint/config/auto.php, on Line 17 you can add multiple IP Addresses to be ignored like so:

$ip = array("1.2.3.4","9.8.7.6"); // IP addresses that Mint should ignore

Save & Upload
That is it! Fairly easy if you know where to look, and remember, this only works with the Advanced Method!


Chasen Le Hara Says:

4163 days ago #

 
Delyan Raychev Says:

4162 days ago #

 

Commenting closed for this article.