[PATCH] pakfire.cgi: Bring back old logic for log displaying