Project

General

Profile

« Previous | Next » 

Revision ab94ba00

Added by Ermal Luçi over 15 years ago

Ticket #309. Correctly fix the problems of intermediate config lost because of inclusion of config.inc. This might have speed impacts to be measured.

View differences:

etc/inc/config.inc
49 49
if($g['booting']) echo ".";
50 50

  
51 51
/* do not load this file twice. */
52
if($config_inc_loaded == true)
52
if (is_file_included("/etc/inc/config.inc"))
53 53
	return;
54
else
55
	$config_inc_loaded = true;
56 54

  
57 55
// Set the memory limit to 128M.  When someone has something like 500+ tunnels
58 56
// the parser needs quite a bit of ram.   Do not remove this line unless you 
......
213 211
	}
214 212
}
215 213

  
216
?>
214
?>

Also available in: Unified diff