--- flashvideo_streaming.module	2009-02-15 01:13:58.000000000 +0100
+++ new_flashvideo_streaming.module	2009-02-17 12:46:56.000000000 +0100
@@ -116,10 +116,10 @@ function _flashvideo_streaming_admin_val
     // Set the path to the streamer based on if they want to use the Drupal root or not.
     $useroot = $form_state['values']['flashvideo_'. $node_type .'_xmoov_userootpath'];
     $user_path = $form_state['values']['flashvideo_'. $node_type .'_xmoov_path'];
-    $xmoov_path = $useroot ? base_path() . $user_path : file_directory_path() .'/'. $user_path;
+    $xmoov_path = $useroot ? getcwd()."/".$user_path : realpath(file_directory_path() .'/'. $user_path);
 
     // If we are using xmoov-php, check the xmoov path to make sure it exists.
-    if (!file_exists(getcwd() . $xmoov_path)) {
+    if (!file_exists($xmoov_path)) {
       form_set_error('flashvideo_'. $node_type .'_xmoov_path', "Can not find xmoov-php at ". $xmoov_path);
     }
     $form_state['values']['flashvideo_'. $node_type .'_streamer'] = $xmoov_path;
@@ -258,4 +258,4 @@ function flashvideo_streaming_flashvideo
   else {
     return array();
   }
-}
\ No newline at end of file
+}
