Quote:
Originally Posted by Eagle Creek
I can't find that??
|
Its in the hack instructions. 2nd edit to login.php
Quote:
Originally Posted by Eagle Creek
Nice hack but I get from EVERYONE who has made an wrong login an error. Not only for the ACP but on the whole forum.
As you can see he's running a script/page that has nothing to do with ACP.
|
From the hack instructions, 3rd edit to login.php, make sure you added the code
below this section of code:
Code:
if ($logintype === 'cplogin' OR $logintype === 'modcplogin')
{
// log this error if attempting to access the control panel
require_once('./includes/functions_log_error.php');
As you can see in the code above, as long as the call to the vbmail() function is placed inside the $logintype === 'cplogin' if statement it should only send the email on cp logins.
Only one other person had that problem (emailing on all logins) so if the suggestions above don't fix it my only guess is that maybe its conflicting with another hack.