Changeset 13737 in hybrid


Ignore:
Timestamp:
Jan 18, 2017, 11:08:31 PM (8 years ago)
Author:
rick
Message:

Safeguard against calling the wrong script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/files/usr/local/www/portal/index.cgi

    r13371 r13737  
    1717if grep -q $REMOTE_MAC $DB; then
    1818  # User has already been here (ones) continue authention directly
    19   ./login/index.cgi
     19  `dirname $0`/login/index.cgi
    2020elif grep -q $REMOTE_MAC $AUTOLOGIN_DB; then
    2121  # Device is marked as special, continue with autologin
    22   ./login/index.cgi
     22  `dirname $0`/login/index.cgi
    2323else
    2424  echo 'Content-Type: text/html'
Note: See TracChangeset for help on using the changeset viewer.