Index: trunk/core/kernel/application.php =================================================================== diff -u -N -r6656 -r6685 --- trunk/core/kernel/application.php (.../application.php) (revision 6656) +++ trunk/core/kernel/application.php (.../application.php) (revision 6685) @@ -367,7 +367,7 @@ if (!$theme_id) { $theme_id = $this->GetDefaultThemeId(); if (!$theme_id) { - $this->ApplicationDie('No Primary Theme Selected'); + if (!defined('IS_INSTALL')) $this->ApplicationDie('No Primary Theme Selected'); } } $this->SetVar('m_theme', $theme_id); @@ -601,11 +601,11 @@ */ function registerModuleConstants() { - if (!$this->ModuleInfo) return false; if (file_exists(KERNEL_PATH.'/constants.php')) { k4_include_once(KERNEL_PATH.'/constants.php'); } - + + if (!$this->ModuleInfo) return false; foreach($this->ModuleInfo as $module_name => $module_info) { $module_path = '/'.$module_info['Path'];