--- a/ckeditor.install	2011-10-28 00:07:21.000000000 -0700
+++ b/ckeditor.install	2011-11-01 10:24:07.000000000 -0700
@@ -377,12 +377,14 @@ function _ckeditor_requirements_getinsta
  */
 function _ckeditor_requirements_ckfinder_config_check($profile_name) {
   module_load_include('module', 'ckeditor');
-  $lib_path = drupal_get_path('module', 'ckeditor');
-  $config_path = $lib_path .'/ckfinder/config.php';
+  $module_drupal_path = drupal_get_path('module', 'ckeditor');
+  $drupal_lib_path = dirname( ckeditor_path(TRUE) );
+  $config_path = $drupal_lib_path .'/ckfinder/config.php';
+
 
   if (!file_exists($config_path)) {
     return t('!ckfinder is not installed correctly: <code>!config</code> not found. Make sure that you uploaded all files and did not accidentally remove the configuration file.', array(
-      '!config' => $lib_path .'/ckfinder/config.php',
+      '!config' => $drupal_lib_path .'/ckfinder/config.php',
       '!ckfinder' => '<a href="http://ckfinder.com">CKFinder</a>'
     ));
   }
@@ -628,4 +630,4 @@ function ckeditor_update_6102() {
  */
 function ckeditor_uninstall() {
   drupal_uninstall_schema('ckeditor');
-}
\ No newline at end of file
+}
