Subversion Repositories ALCASAR

Rev

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

Rev 2820 Rev 2841
Line 1... Line 1...
1
<?php
1
<?php
2
# $Id: status.php 2820 2020-05-18 21:50:49Z rexy $
2
# $Id: status.php 2841 2020-06-28 21:49:00Z rexy $
3
#
3
#
4
# status.php for ALCASAR captive portal
4
# status.php for ALCASAR captive portal
5
# by steweb57 & Rexy
5
# by steweb57 & Rexy
6
# 
6
# 
7
/****************************************************************
7
/****************************************************************
Line 313... Line 313...
313
				$cn = (!empty($row['name'])) ? $row['name'] : $user[5];
313
				$cn = (!empty($row['name'])) ? $row['name'] : $user[5];
314
			}
314
			}
315
		}
315
		}
316
	}
316
	}
317
 
317
 
318
	$filename = '/var/tmp/havp/current_users.txt';
318
	$filename = '/tmp/current_users.txt';
319
	$user_needKeepOpen = (preg_match("/^$remote_ip:PERM/m", file_get_contents($filename)) === 0);
319
	$user_needKeepOpen = (preg_match("/^$remote_ip:PERM/m", file_get_contents($filename)) === 0);
320
}
320
}
321
 
321
 
322
////////////////////////////////////////////////////////////////////////////////////////
322
////////////////////////////////////////////////////////////////////////////////////////
323
/////////////////////// TEST VARIABLES ///////////////////////
323
/////////////////////// TEST VARIABLES ///////////////////////