Skip to content

Protect Plugin: e107

Plugin was tested with e107 Version 1.0.4

Edit file e107_handlers/login.php in your e107 installation and

  1. replace line

    cookie($pref['cookie_name'], $cookieval, (time() + 3600 * 24 * 30));

    with

    cookie($pref['cookie_name'], $cookieval, (time() + 3600 * 24 * 30), '/');

  2. replace line

    cookie($pref['cookie_name'], $cookieval);

    with

    cookie($pref['cookie_name'], $cookieval, 0, '/');