1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-28 18:30:53 +02:00

PHP8 Error fix for failed admin area login. Debug Paths code improvement.

This commit is contained in:
Cameron
2021-01-11 16:29:32 -08:00
parent c548699854
commit c8a070de27
2 changed files with 21 additions and 2 deletions

View File

@@ -148,6 +148,7 @@ else
if ($row[0] == "authfail")
{
e107::coreLan('log_messages', true);
$admin_log->addEvent(4, __FILE__."|".__FUNCTION__."@".__LINE__, "LOGIN", LAN_ROLL_LOG_11, "U: ".$tp->toDB($_POST['authname']), FALSE, LOG_TO_ROLLING);
echo "<script type='text/javascript'>document.location.href='../index.php'</script>\n";