- Code: Select all
includes/sessions.php
#
#-----[ FIND ]------------------------------------------------
#
if (
{// (
$last_visit = (
$sql = "UPDATE " . USERS_TABLE . "
SET
and replace with:
- Code: Select all
includes/sessions.php
#
#-----[ FIND ]------------------------------------------------
#
if (
{// (
$last_visit = (
if (!$admin)
{
$sql = "UPDATE " . USERS_TABLE . "
SET
Basically you are just adding these two lines:
if (!$admin)
{
above this one:
$sql = "UPDATE " . USERS_TABLE . "
So the find matches the content of sessions.php in 2.0.15
HTH

