Index: branches/unlabeled/unlabeled-1.106.2/admin/install.php =================================================================== diff -u -r5432 -r5732 --- branches/unlabeled/unlabeled-1.106.2/admin/install.php (.../install.php) (revision 5432) +++ branches/unlabeled/unlabeled-1.106.2/admin/install.php (.../install.php) (revision 5732) @@ -528,6 +528,8 @@ $dir_name = $pathtoroot.$mod_path."/admin/install/upgrades/"; $dir = @dir($dir_name); + if (!$dir) continue; + $upgrades_arr = Array(); $new_version = ''; @@ -709,7 +711,7 @@ $objThemes->CreateMissingThemes(false); $css_hash = $application->Conn->GetCol('SELECT LOWER(Name) AS Name, StylesheetId FROM '.TABLE_PREFIX.'Stylesheets', 'StylesheetId'); - + $css_table = $application->getUnitOption('css','TableName'); $css_idfield = $application->getUnitOption('css','IDField');