filegroup example



    /** * Gets the file's group. * * @since 2.5.0 * * @param string $file Path to the file. * @return string|false The group on success, false on failure. */
    public function group( $file ) {
        $gid = @filegroup( $file );

        if ( ! $gid ) {
            return false;
        }

        if ( ! function_exists( 'posix_getgrgid' ) ) {
            return $gid;
        }

        $grouparray = posix_getgrgid( $gid );

        


    /** * Gets the file's group. * * @since 2.7.0 * * @param string $file Path to the file. * @return string|false The group on success, false on failure. */
    public function group( $file ) {
        $gid = @filegroup( $this->sftp_path( $file ) );

        if ( ! $gid ) {
            return false;
        }

        if ( ! function_exists( 'posix_getgrgid' ) ) {
            return $gid;
        }

        $grouparray = posix_getgrgid( $gid );

        
Home | Imprint | This part of the site doesn't use cookies.