Comments

3 comments

  • Avatar
    Chris Muench

    At this time there is not a way without modifying code. (Which is actually pretty simple).

     

    application/controllers/Config.php

     

    find

     

    $data['phppos_session_expirations'] = array('0' => lang('config_on_browser_close'));

    for($k=10;$k<=60;$k+=5)
    {
    $expire = $k*60;
    $data['phppos_session_expirations']["$expire"] = $k.' '.lang('common_minutes');
    }

    for($k=1;$k<=24;$k++)
    {
    $expire = $k*60*60;
    $data['phppos_session_expirations']["$expire"] = $k.' '.lang('config_hours');
    }

    Replace

    $data['phppos_session_expirations'] = array('0' => lang('config_on_browser_close'));

    for($k=10;$k<=60;$k+=5)
    {
    $expire = $k*60;
    $data['phppos_session_expirations']["$expire"] = $k.' '.lang('common_minutes');
    }

    for($k=1;$k<=72;$k++)
    {
    $expire = $k*60*60;
    $data['phppos_session_expirations']["$expire"] = $k.' '.lang('config_hours');
    }
    0
    Comment actions Permalink
  • Avatar
    ilmo

    Thank you !

    0
    Comment actions Permalink
  • Avatar
    Chris Muench

    We just did an update to support up to 7 days in the main release so you don't have to always remember to patch each time.

    0
    Comment actions Permalink

Please sign in to leave a comment.