jubii Posted September 13, 2003 Share Posted September 13, 2003 Hey Everybody I have just downloaded the http://www.oscommerce.com/community/contributions,1057 and it works perfect. But is it possible to have more than one IP, (exclude this IP-Address) so that the webmaster and eg. my designer who is on another IP range will be able to see the shop when it is down for maintenace. Quote ---------------------------------- Regards Jubii Link to comment Share on other sites More sharing options...
jubii Posted September 15, 2003 Author Share Posted September 15, 2003 Nobody who can help me ? Quote ---------------------------------- Regards Jubii Link to comment Share on other sites More sharing options...
stretchr Posted September 15, 2003 Share Posted September 15, 2003 Can't help you but I agree. This would be a nice addition. Cheers, Stretchr Quote "It's a small world... But I wouldn't want to paint it!" Stephen Wright Link to comment Share on other sites More sharing options...
Silencer Posted September 16, 2003 Share Posted September 16, 2003 Quick and dirty solution. Find in application_top.php: if (EXCLUDE_ADMIN_IP_FOR_MAINTENANCE != getenv('REMOTE_ADDR')){ change to: if (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE,getenv('REMOTE_ADDR'))){ From now on you can enter several IPs in "Down For Maintenance (exclude this IP-Address)" field, separate them with spaces. Quote There is always more than one way to do it. And always Keep It Simple, Stupid. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.