blob: a212b16ef8977d97a5ebba8b844e4cbeef124373 (
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['S']['conf'][$var]=$$var;
}
}
}
?>
|