Project

General

Profile

« Previous | Next » 

Revision b273dd26

Added by Ermal LUÇI over 12 years ago

Restore needed code

View differences:

etc/inc/captiveportal.inc
1371 1371
}
1372 1372

  
1373 1373
function captiveportal_get_dn_passthru_ruleno($value) {
1374
	global $config, $g;
1374
	global $config, $g, $cpzone;
1375

  
1376
	$cpcfg = $config['captiveportal'][$cpzone];
1377
	if(!isset($cpcfg['enable']))
1378
		return NULL;
1375 1379

  
1376 1380
	$cpruleslck = lock("captiveportalrulesdn", LOCK_EX);
1377 1381
	if (file_exists("{$g['vardb_path']}/captiveportaldn.rules")) {

Also available in: Unified diff