Index: branches/5.0.x/core/install.php =================================================================== diff -u -r12199 -r12204 --- branches/5.0.x/core/install.php (.../install.php) (revision 12199) +++ branches/5.0.x/core/install.php (.../install.php) (revision 12204) @@ -1,6 +1,6 @@ _IsLocalSite($domain)) { - $this->toolkit->setSystemConfig('Intechnic', 'Domain', $domain); + $this->toolkit->setSystemConfig('Misc', 'Domain', $domain); $this->toolkit->SaveConfig(); } else { @@ -1113,8 +1113,8 @@ if (!isset($modules)) { $modules = Array(); $fh = opendir(MODULES_PATH); - while (($sub_folder = readdir($fh))) { - $folder_path = MODULES_PATH.'/'.$sub_folder; + while ( ($sub_folder = readdir($fh)) ) { + $folder_path = MODULES_PATH . '/'.$sub_folder; if ($sub_folder != '.' && $sub_folder != '..' && is_dir($folder_path)) { if ($sub_folder == 'core') { // skip modules here