summaryrefslogtreecommitdiff
blob: eb078796e10eb1e575a4e67c530654992ea3d463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
function load_config() {
	require(SHARED.'/include/defaults.php');
	require(SHARED.'/config.php');	       	
	$modules=explode(' ', $modules);
	foreach (explode(' ', 'title url sqlhost sqluser sqlpass sqldb debug modules bundlers cookiename sessionlength mod_rewrite timezone_root emailfrom check_email_dns split_setup registration invite logview_max progressbar_width pkgdir_root emerge_default_opts portdir backend_id') as $var) {
		if (isset($$var)) {
			$GLOBALS['conf'][$var]=$$var;
		}
	}
}
?>