The boundary layer regime in a porous layer with uniform heat flux from the side