--- fancybox.module	2012-03-09 14:02:54.000000000 +0100
+++ fancybox_new.module	2012-03-09 14:02:48.000000000 +0100
@@ -616,6 +616,7 @@
 
 function _set_fancybox_files() {
   $files = _detect_fancybox_files();
+  $path = libraries_get_path('fancybox');
 
   if (empty($files['js']) || empty($files['css'])) {
     drupal_set_message(t('No Fancybox plugin found in @path, install the Fancybox plugin and go to the Fancybox settings page for the files to be found', array('@path' => $path)), 'warning');
