I wouldn't use this... There are easier ways to protect the admincp directory. I've known people to block their own IP's doing it this way.
1. Rename it, and change the variable in the config.php file.
2. Add user and password protection.
3. Add redirect if admincp is accessed directly (requires FTP to change - not recommended for users that access their admincp often.
Just a few ideas...
|