public function setLocalPath($path)
 {
     // Convert any extra slashes ("//") in the path to a single slash ("/").
     $path = preg_replace('(//+)', '/', $path);
     return parent::setLocalPath($path);
 }