Commit 88491229 authored by Robert Ricci's avatar Robert Ricci
Browse files

Fix to last commit

When running from suexec, no need to give full path to the minary,
or to re-direct stdout and stderr.
parent 621a40ff
......@@ -1067,9 +1067,7 @@ function DOLOGIN_MAGIC($uid, $uid_idx, $email = null, $adminon = 0)
# Proj-vis cookies
if ($EXP_VIS) {
setcookie("exp_vis_session", $opskey, 0, "/", $TBAUTHDOMAIN, 0);
SUEXEC($uid,"nobody",
"$TBLIBEXEC_DIR/write-vis-auth > /dev/null 2>&1 &",
$SUEXEC_ACTION_CONTINUE);
SUEXEC($uid,"nobody", "write-vis-auth &", $SUEXEC_ACTION_CONTINUE);
}
return 0;
......@@ -1184,9 +1182,7 @@ function DOLOGOUT($user) {
#
if ($EXP_VIS) {
setcookie("exp_vis_session", "", $timeout, "/", $TBAUTHDOMAIN, 0);
SUEXEC($uid,"nobody",
"$TBLIBEXEC_DIR/write-vis-auth > /dev/null 2>&1 &",
$SUEXEC_ACTION_CONTINUE);
SUEXEC($uid,"nobody", "write-vis-auth &", $SUEXEC_ACTION_CONTINUE);
}
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment