Index: branches/5.2.x/core/install.php =================================================================== diff -u -N -r14842 -r14843 --- branches/5.2.x/core/install.php (.../install.php) (revision 14842) +++ branches/5.2.x/core/install.php (.../install.php) (revision 14843) @@ -1,6 +1,6 @@ toolkit->RunSQL( $template_path . '_install/install_data.sql', Array('{ThemeId}', '{SitePath}'), Array($theme_id, $site_path) ); - // copy theme demo images into writable path accessible by FCKEditor - $file_helper->copyFolderRecursive(FULL_PATH . $template_path . '_install/images' . DIRECTORY_SEPARATOR, WRITEABLE . '/user_files/Images'); + if ( file_exists(FULL_PATH . $template_path . '_install/images') ) { + // copy theme demo images into writable path accessible by FCKEditor + $file_helper->copyFolderRecursive(FULL_PATH . $template_path . '_install/images' . DIRECTORY_SEPARATOR, WRITEABLE . '/user_files/Images'); + } } } break;