If her name is on the house, then she will get 50/50, as it can be easily proven from bank records that she is paying half of everything.
However, if when the house is sold and the proceeds split equally, this amounts to £24k, then it's the same thing as him giving her £24k up front and not selling the house...