On the regularity of the ω-minima of φ-functionals