Esempio n. 1
0
 /**
  * resolve a path to a storage and internal path
  *
  * @param string $path
  * @return array consisting of the storage and the internal path
  */
 public static function resolvePath($path)
 {
     $mount = Mount::find($path);
     if ($mount) {
         return array($mount->getStorage(), $mount->getInternalPath($path));
     } else {
         return array(null, null);
     }
 }