Subversion Repositories ALCASAR

Rev

Rev 1805 | Rev 2299 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1805 Rev 1827
Line 66... Line 66...
66
EOM;
66
EOM;
67
 
67
 
68
if ($clear_sessions == 1)
68
if ($clear_sessions == 1)
69
	{
69
	{
70
# close active sessions
70
# close active sessions
71
	exec ("sudo /usr/local/sbin/alcasar-logout.sh $login");
71
	exec ("sudo /usr/local/bin/alcasar-logout.sh $login");
72
# delete open accounting sessions
72
# delete open accounting sessions
73
	$now = time();
73
	$now = time();
74
	$today_now = date("Y-m-d H:i:s",$now);
74
	$today_now = date("Y-m-d H:i:s",$now);
75
	$link = da_sql_pconnect($config);
75
	$link = da_sql_pconnect($config);
76
	if ($link)
76
	if ($link)