public static function resolve($path)
    {
        if (empty($path)) {
            return false;
        }

        $path = Uri::canonpath($path);

        if ($path . '/' === self::path() || strpos($path, self::path()) === 0) {
            return $path;
        }

        return self::path() . $path;
    }
public static function resolve($path)
    {
        if (empty($path)) {
            return false;
        }

        $path = Uri::canonpath($path);

        if ($path . '/' === self::path() || strpos($path, self::path()) === 0) {
            return $path;
        }

        return self::path() . $path;
    }
public static function resolve ( $ path ) { if ( empty ( $ path ) ) { return false ; } $ path = Uri :: canonpath ( $ path ) ; if ( $ path . '/' === self :: path ( ) || strpos ( $ path , self :: path ( ) ) === 0 ) { return $ path ; } return self :: path ( ) . $ path ; }
Convert path to storage path

@param string $path
@return bool|string
Convert path to storage path