Index: branches/unlabeled/unlabeled-1.105.2/admin/install.php =================================================================== diff -u -r5332 -r5428 --- branches/unlabeled/unlabeled-1.105.2/admin/install.php (.../install.php) (revision 5332) +++ branches/unlabeled/unlabeled-1.105.2/admin/install.php (.../install.php) (revision 5428) @@ -709,8 +709,7 @@ $objThemes->CreateMissingThemes(false); $css_hash = $application->Conn->GetCol('SELECT LOWER(Name) AS Name, StylesheetId FROM '.TABLE_PREFIX.'Stylesheets', 'StylesheetId'); - - $application->setUnitOption('css', 'AutoLoad', false); + $css_table = $application->getUnitOption('css','TableName'); $css_idfield = $application->getUnitOption('css','IDField'); @@ -720,7 +719,7 @@ $theme_update_sql = 'UPDATE '.$theme_table.' SET '.$css_idfield.' = %s WHERE LOWER(Name) = %s'; foreach($css_hash as $stylesheet_id => $theme_name) { - $css_item =& $application->recallObject('css'); + $css_item =& $application->recallObject('css', null, Array('skip_autoload' => true)); $css_item->Load($stylesheet_id); $css_item->Compile(); $application->Conn->Query( sprintf($theme_update_sql, $stylesheet_id, $application->Conn->qstr( getArrayValue($css_hash,$stylesheet_id) ) ) );