# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. --- ckeditor.module +++ ckeditor.module @@ -928,6 +928,11 @@ foreach ($theme_info->stylesheets as $type => $stylesheets) { if ($type != "print") { foreach ($stylesheets as $name => $path) { + // Checks if less module exists... + if( strstr($path, '.less') && module_exists( 'less' ) ){ + $path = 'sites/default/files/less/' . $path; // append the less file path + $path = str_replace('.less', '', $path); // remove the .less + } if (file_exists($path)) { $css_files[$name] = $host . $path . $query_string; // Grab rtl stylesheets ( will get rtl css files when thay are named with suffix "-rtl.css" (ex: fusion baased themes) )